Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CpAct",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CpAct",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009282/0.0009289, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000965/0.000965, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.634/2.634, allocations: 436.5 MB / 0.7104 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004832, allocations: 8 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.7875, allocations: 153.6 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001525/0.789, allocations: 1.161 MB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.7904, allocations: 0.8197 MB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.7904, allocations: 0 / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.7906, allocations: 11.92 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.7911, allocations: 99.84 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.7912, allocations: 78.78 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.7914, allocations: 43.88 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.7914, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.076e-05/0.7915, allocations: 31.91 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.7916, allocations: 55.75 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.7917, allocations: 0 / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.792, allocations: 187.8 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.7921, allocations: 59.81 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.7921, allocations: 41.64 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.7924, allocations: 193.5 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.644e-06/0.7924, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.013e-06/0.7924, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.7924, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007668/0.7932, allocations: 498.4 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.7932, allocations: 11.98 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.7933, allocations: 15.81 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.7939, allocations: 0.6421 MB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.794, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.794, allocations: 3.984 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.7942, allocations: 85.61 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.7942, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.7942, allocations: 3.938 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.7942, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.7944, allocations: 91.94 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.7948, allocations: 329.4 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.7951, allocations: 126.4 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.7951, allocations: 16.14 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.7952, allocations: 34.56 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.7952, allocations: 0 / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004194/0.7956, allocations: 181.4 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.7957, allocations: 59.39 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000685/0.7964, allocations: 0.778 MB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.7964, allocations: 29.7 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.7965, allocations: 128.1 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.7965, allocations: 3.906 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.7965, allocations: 0 / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7967, allocations: 334.8 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.7968, allocations: 43.97 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.7969, allocations: 66.55 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.7971, allocations: 48 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7971, allocations: 0 / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002686/0.7973, allocations: 137.4 kB / 1.027 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.7974, allocations: 4 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7974, allocations: 0 / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.7974, allocations: 7.891 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.7975, allocations: 19.98 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7975, allocations: 4 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.7976, allocations: 19.89 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.7977, allocations: 4 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.7978, allocations: 125.8 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.7978, allocations: 15.81 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.7981, allocations: 151.2 kB / 1.027 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.7982, allocations: 3.953 kB / 1.027 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7982, allocations: 0 / 1.027 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7982, allocations: 48 / 1.027 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.7984, allocations: 233.6 kB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7984, allocations: 4 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.489e-05/0.7985, allocations: 11.94 kB / 1.028 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7985, allocations: 4 kB / 1.028 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.7985, allocations: 0 / 1.028 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.7985, allocations: 3.984 kB / 1.028 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.7985, allocations: 7.891 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.7988, allocations: 164.9 kB / 1.028 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.41e-05/0.7989, allocations: 104.8 kB / 1.028 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.7989, allocations: 0 / 1.028 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.799, allocations: 11.98 kB / 1.028 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.7991, allocations: 0 / 1.028 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.7991, allocations: 19.89 kB / 1.028 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005628/0.7996, allocations: 0.6135 MB / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.7997, allocations: 0 / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003674/0.8, allocations: 72 kB / 1.029 GB, free: 8.75 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003305/0.8004, allocations: 155.1 kB / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.8007, allocations: 99.92 kB / 1.029 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8007, allocations: 0 / 1.029 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.8008, allocations: 51.97 kB / 1.029 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.801, allocations: 14.62 kB / 1.029 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.8015, allocations: 338.5 kB / 1.029 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.8018, allocations: 0.7281 MB / 1.03 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.055e-05/0.8019, allocations: 24.62 kB / 1.03 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.8019, allocations: 15.44 kB / 1.03 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.8019, allocations: 0 / 1.03 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of Templates: time 0.005525/0.8074, allocations: 2.489 MB / 1.032 GB, free: 4.793 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches