Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001075, allocations: 99.31 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.001002/0.001003, 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.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.544/2.544, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7366, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.2729/1.01, allocations: 242.4 MB / 1.19 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0291/1.039, allocations: 15.39 MB / 1.205 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00357/1.042, allocations: 55.69 kB / 1.205 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005205/1.048, allocations: 1.497 MB / 1.207 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01356/1.061, allocations: 4.413 MB / 1.211 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006747/1.068, allocations: 2.113 MB / 1.213 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007736/1.076, allocations: 4.09 MB / 1.217 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003763/1.079, allocations: 2.088 MB / 1.219 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005399/1.085, allocations: 2.162 MB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/1.088, allocations: 1.705 MB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007578/1.089, allocations: 168 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007633/1.097, allocations: 2.286 MB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002057/1.099, allocations: 1.212 MB / 1.227 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001951/1.101, allocations: 0.6798 MB / 1.227 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007098/1.108, allocations: 4.138 MB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.108, allocations: 0 / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.856e-06/1.108, allocations: 0 / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001878/1.108, allocations: 0 / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 726 * Number of variables: 726 Notification: Performance of Generate backend data structure: time 0.01/1.118, allocations: 3.462 MB / 1.235 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.118, allocations: 12.03 kB / 1.235 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001323/1.12, allocations: 404.5 kB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006153/1.126, allocations: 0.8624 MB / 1.236 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004853/1.131, allocations: 1.733 MB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/1.131, allocations: 213.5 kB / 1.238 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005161/1.132, allocations: 287.9 kB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006241/1.138, allocations: 3.58 MB / 1.242 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-05/1.138, allocations: 11.92 kB / 1.242 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/1.138, allocations: 112 kB / 1.242 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/1.138, allocations: 153.4 kB / 1.242 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006372/1.145, allocations: 3.71 MB / 1.246 GB, free: 4.285 MB / 0.9981 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.5453/1.69, allocations: 13.21 MB / 1.258 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005059/1.695, allocations: 3.211 MB / 1.262 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/1.697, allocations: 1.512 MB / 1.263 GB, free: 271.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.656e-05/1.697, allocations: 67.97 kB / 1.263 GB, free: 271.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=285): time 4.929e-06/1.697, allocations: 0 / 1.263 GB, free: 271.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285): time 0.008516/1.705, allocations: 4.018 MB / 1.267 GB, free: 269.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/1.705, allocations: 80.47 kB / 1.267 GB, free: 269.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/1.708, allocations: 1.423 MB / 1.269 GB, free: 269 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002311/1.708, allocations: 76.8 kB / 1.269 GB, free: 268.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006599/1.708, allocations: 1.004 MB / 1.27 GB, free: 268.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000725/1.709, allocations: 0.9673 MB / 1.271 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/1.709, allocations: 46.94 kB / 1.271 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.709, allocations: 401 kB / 1.271 GB, free: 266.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/1.711, allocations: 1.128 MB / 1.272 GB, free: 266.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/1.713, allocations: 1.369 MB / 1.273 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/1.716, allocations: 1.332 MB / 1.275 GB, free: 264.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.716, allocations: 1 kB / 1.275 GB, free: 264.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.0056/1.721, allocations: 3.034 MB / 1.278 GB, free: 263.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/1.721, allocations: 7.406 kB / 1.278 GB, free: 263.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/1.721, allocations: 2.562 kB / 1.278 GB, free: 263.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.266e-05/1.721, allocations: 13.69 kB / 1.278 GB, free: 263.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/1.724, allocations: 0.5091 MB / 1.278 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-05/1.724, allocations: 17.41 kB / 1.278 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003289/1.727, allocations: 392.7 kB / 1.279 GB, free: 263 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/1.727, allocations: 84.14 kB / 1.279 GB, free: 263 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (312): * Single equations (assignments): 312 * 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.001718/1.729, allocations: 0.6824 MB / 1.279 GB, free: 262.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007341/1.73, allocations: 233.5 kB / 1.28 GB, free: 262.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006154/1.736, allocations: 3.204 MB / 1.283 GB, free: 260.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.64e-05/1.736, allocations: 31.41 kB / 1.283 GB, free: 260.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/1.736, allocations: 0 / 1.283 GB, free: 260.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003836/1.74, allocations: 2.635 MB / 1.285 GB, free: 259.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/1.754, allocations: 6.611 MB / 1.292 GB, free: 255.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/1.754, allocations: 3.656 kB / 1.292 GB, free: 255.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003941/1.758, allocations: 0.5394 MB / 1.292 GB, free: 255.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-05/1.758, allocations: 18.45 kB / 1.292 GB, free: 255.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/1.758, allocations: 60.92 kB / 1.292 GB, free: 255.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.598e-05/1.758, allocations: 12.97 kB / 1.292 GB, free: 255.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.758, allocations: 4.312 kB / 1.292 GB, free: 255.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00634/1.765, allocations: 4.951 MB / 1.297 GB, free: 252.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.766, allocations: 0.6237 MB / 1.298 GB, free: 251.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000395/1.767, allocations: 49.66 kB / 1.298 GB, free: 251.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/1.769, allocations: 225.5 kB / 1.298 GB, free: 251.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/1.769, allocations: 177.6 kB / 1.298 GB, free: 251.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/1.769, allocations: 83.16 kB / 1.298 GB, free: 251.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001208/1.771, allocations: 0.9774 MB / 1.299 GB, free: 250.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.771, allocations: 0 / 1.299 GB, free: 250.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002349/1.773, allocations: 0.9917 MB / 1.3 GB, free: 249.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * 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 (285): * Single equations (assignments): 285 * 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.006699/1.78, allocations: 6.469 MB / 1.307 GB, free: 243 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003928/1.784, allocations: 2.825 MB / 1.309 GB, free: 240.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.784, allocations: 0 / 1.309 GB, free: 240.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001872/1.785, allocations: 1.548 MB / 1.311 GB, free: 238.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00612/1.792, allocations: 1.227 MB / 1.312 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/1.806, allocations: 11.62 MB / 1.323 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/1.807, allocations: 2.042 MB / 1.325 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003627/1.811, allocations: 0.8985 MB / 1.326 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/1.812, allocations: 1.116 MB / 1.327 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.473e-06/1.812, allocations: 0 / 1.327 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09534/1.908, allocations: 68.04 MB / 1.394 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/1.908, allocations: 244.3 kB / 1.394 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.822/5.73, allocations: 0 / 1.394 GB, free: 153.9 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.mat does not exist to compare? outputFormat=mat