Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.311/2.311, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 190.1 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009728/0.0009727, allocations: 95.11 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003606, allocations: 7.5 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3286, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.225/5.553, allocations: 1.932 GB / 3.161 GB, free: 21.42 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/5.554, allocations: 94.2 kB / 3.161 GB, free: 21.37 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.899/10.45, allocations: 1.078 GB / 4.239 GB, free: 207.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.003e-06/10.45, allocations: 3 kB / 4.239 GB, free: 207.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003708/10.45, allocations: 51.58 kB / 4.239 GB, free: 207.9 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.01137/10.46, allocations: 2.432 MB / 4.242 GB, free: 206.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/10.46, allocations: 7.562 kB / 4.242 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001004/10.47, allocations: 203.4 kB / 4.242 GB, free: 206.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/10.47, allocations: 0.5181 MB / 4.242 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/10.47, allocations: 1.275 MB / 4.244 GB, free: 206.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/10.47, allocations: 106.3 kB / 4.244 GB, free: 206.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004851/10.47, allocations: 138.6 kB / 4.244 GB, free: 206.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003896/10.48, allocations: 1.664 MB / 4.246 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-05/10.48, allocations: 0 / 4.246 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/10.48, allocations: 56.34 kB / 4.246 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.187e-05/10.48, allocations: 57.42 kB / 4.246 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/10.48, allocations: 1.421 MB / 4.247 GB, free: 206.2 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/10.49, allocations: 7.19 MB / 4.254 GB, free: 202.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/10.49, allocations: 1.2 MB / 4.255 GB, free: 202.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/10.49, allocations: 0.8638 MB / 4.256 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009975/10.5, allocations: 0.6062 MB / 4.257 GB, free: 201.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=110): time 4.919e-06/10.5, allocations: 0 / 4.257 GB, free: 201.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=110): time 0.003183/10.5, allocations: 1.58 MB / 4.258 GB, free: 201.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/10.5, allocations: 93.19 kB / 4.258 GB, free: 201.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/10.5, allocations: 1.038 MB / 4.259 GB, free: 201.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/10.5, allocations: 50.83 kB / 4.259 GB, free: 201.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005783/10.5, allocations: 0.6838 MB / 4.26 GB, free: 200.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003842/10.5, allocations: 388.4 kB / 4.26 GB, free: 200.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/10.5, allocations: 17.62 kB / 4.26 GB, free: 200.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.025e-05/10.5, allocations: 345 kB / 4.261 GB, free: 200.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006871/10.5, allocations: 422.9 kB / 4.261 GB, free: 200.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007776/10.5, allocations: 0.588 MB / 4.262 GB, free: 200.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008208/10.5, allocations: 0.4893 MB / 4.262 GB, free: 200.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/10.5, allocations: 2.75 kB / 4.262 GB, free: 200.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002081/10.51, allocations: 1.219 MB / 4.263 GB, free: 200 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002267/10.51, allocations: 0.9791 MB / 4.264 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/10.51, allocations: 7.578 kB / 4.264 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/10.51, allocations: 6.969 kB / 4.264 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009985/10.51, allocations: 222.9 kB / 4.265 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.347e-05/10.51, allocations: 7.375 kB / 4.265 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/10.51, allocations: 192.9 kB / 4.265 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/10.51, allocations: 40.5 kB / 4.265 GB, free: 198.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/10.51, allocations: 3.906 kB / 4.265 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001623/10.51, allocations: 1.04 MB / 4.266 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/10.51, allocations: 7.016 kB / 4.266 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/10.51, allocations: 6.469 kB / 4.266 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009236/10.51, allocations: 211.9 kB / 4.266 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/10.51, allocations: 15.3 kB / 4.266 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/10.51, allocations: 178.2 kB / 4.266 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/10.51, allocations: 41.8 kB / 4.266 GB, free: 198.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.001011/10.52, allocations: 486.2 kB / 4.267 GB, free: 198.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/10.52, allocations: 156 kB / 4.267 GB, free: 198.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/10.52, allocations: 1.254 MB / 4.268 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/10.52, allocations: 10.19 kB / 4.268 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/10.52, allocations: 0 / 4.268 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001521/10.52, allocations: 1.027 MB / 4.269 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00587/10.53, allocations: 3.196 MB / 4.272 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/10.53, allocations: 0 / 4.272 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/10.53, allocations: 233.1 kB / 4.272 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.162e-05/10.53, allocations: 9.562 kB / 4.272 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.747e-05/10.53, allocations: 30.36 kB / 4.273 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/10.53, allocations: 15.64 kB / 4.273 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/10.53, allocations: 7.766 kB / 4.273 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/10.53, allocations: 2.068 MB / 4.275 GB, free: 197.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/10.53, allocations: 373.4 kB / 4.275 GB, free: 197.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003517/10.53, allocations: 28.84 kB / 4.275 GB, free: 197.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/10.53, allocations: 125.1 kB / 4.275 GB, free: 197.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/10.53, allocations: 70.38 kB / 4.275 GB, free: 197.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.383e-05/10.53, allocations: 38.38 kB / 4.275 GB, free: 197.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001392/10.53, allocations: 0.8198 MB / 4.276 GB, free: 197 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/10.53, allocations: 0 / 4.276 GB, free: 197 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003719/10.54, allocations: 1.098 MB / 4.277 GB, free: 196.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.008308/10.55, allocations: 6.097 MB / 4.283 GB, free: 194.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002862/10.55, allocations: 1.62 MB / 4.285 GB, free: 194.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/10.55, allocations: 0 / 4.285 GB, free: 194.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008966/10.55, allocations: 0.5646 MB / 4.285 GB, free: 194.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004121/10.55, allocations: 0.8109 MB / 4.286 GB, free: 194.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/10.57, allocations: 11.17 MB / 4.297 GB, free: 189.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/10.57, allocations: 1.399 MB / 4.298 GB, free: 188.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002276/10.58, allocations: 463.8 kB / 4.299 GB, free: 188.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009849/10.58, allocations: 0.6269 MB / 4.299 GB, free: 188.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.773e-06/10.58, allocations: 0 / 4.299 GB, free: 188.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/10.69, allocations: 78.36 MB / 4.376 GB, free: 126.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/10.69, allocations: 240.1 kB / 4.376 GB, free: 126.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.742/15.44, allocations: 0 / 4.376 GB, free: 126.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat does not exist to compare? outputFormat=mat