Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.239/2.239, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001163/0.001163, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.0009727/0.0009728, allocations: 99.75 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.139e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2746, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.39/10.66, allocations: 4.439 GB / 5.658 GB, free: 62.68 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/10.67, allocations: 84.73 kB / 5.658 GB, free: 62.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.307/14.97, allocations: 0.9882 GB / 6.646 GB, free: 203.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.964e-06/14.97, allocations: 0 / 6.646 GB, free: 203.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002966/14.97, allocations: 72.8 kB / 6.647 GB, free: 203.4 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01688/14.99, allocations: 3.304 MB / 6.65 GB, free: 202.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.171e-05/14.99, allocations: 10.44 kB / 6.65 GB, free: 202.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002169/14.99, allocations: 392.2 kB / 6.65 GB, free: 202.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006957/15, allocations: 0.7479 MB / 6.651 GB, free: 202.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007896/15.01, allocations: 1.997 MB / 6.653 GB, free: 202.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003774/15.01, allocations: 202.5 kB / 6.653 GB, free: 202.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/15.01, allocations: 277.5 kB / 6.653 GB, free: 202.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009556/15.02, allocations: 3.103 MB / 6.656 GB, free: 202.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.432e-05/15.02, allocations: 0.875 kB / 6.656 GB, free: 202.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003342/15.02, allocations: 113 kB / 6.656 GB, free: 202.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/15.02, allocations: 121.2 kB / 6.657 GB, free: 202.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00907/15.03, allocations: 4.399 MB / 6.661 GB, free: 202 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.02072/15.05, allocations: 10.82 MB / 6.671 GB, free: 198.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005828/15.05, allocations: 4.791 MB / 6.676 GB, free: 198.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003716/15.06, allocations: 2.464 MB / 6.679 GB, free: 198.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009154/15.06, allocations: 0.8594 MB / 6.679 GB, free: 197.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.509e-05/15.06, allocations: 76.92 kB / 6.679 GB, free: 197.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=399): time 5.089e-06/15.06, allocations: 3.375 kB / 6.679 GB, free: 197.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=399): time 0.007567/15.07, allocations: 4.024 MB / 6.683 GB, free: 196.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/15.07, allocations: 92.64 kB / 6.683 GB, free: 196.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/15.07, allocations: 1.103 MB / 6.685 GB, free: 196.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000376/15.07, allocations: 94.33 kB / 6.685 GB, free: 196.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005455/15.07, allocations: 0.8031 MB / 6.685 GB, free: 196.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00117/15.07, allocations: 1.336 MB / 6.687 GB, free: 195.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/15.07, allocations: 68.88 kB / 6.687 GB, free: 195.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000183/15.07, allocations: 445.4 kB / 6.687 GB, free: 195.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/15.07, allocations: 1.547 MB / 6.689 GB, free: 195.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/15.08, allocations: 1.831 MB / 6.69 GB, free: 195.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/15.08, allocations: 1.855 MB / 6.692 GB, free: 195.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/15.08, allocations: 0 / 6.692 GB, free: 195.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005904/15.08, allocations: 4.07 MB / 6.696 GB, free: 195 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/15.08, allocations: 13 kB / 6.696 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/15.08, allocations: 3.094 kB / 6.696 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.05e-05/15.08, allocations: 19.56 kB / 6.696 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002691/15.09, allocations: 0.6858 MB / 6.697 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.414e-05/15.09, allocations: 16.09 kB / 6.697 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003586/15.09, allocations: 410.4 kB / 6.697 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002533/15.09, allocations: 109 kB / 6.697 GB, free: 194.8 MB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.0006061/15.09, allocations: 292.3 kB / 6.698 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005439/15.09, allocations: 248.1 kB / 6.698 GB, free: 194.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007045/15.1, allocations: 4.535 MB / 6.702 GB, free: 194.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/15.1, allocations: 43.62 kB / 6.702 GB, free: 194.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/15.1, allocations: 0 / 6.702 GB, free: 194.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005186/15.1, allocations: 3.857 MB / 6.706 GB, free: 194.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/15.12, allocations: 8.197 MB / 6.714 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/15.12, allocations: 0 / 6.714 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002904/15.12, allocations: 0.6576 MB / 6.715 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/15.12, allocations: 137.1 kB / 6.715 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002814/15.12, allocations: 85.59 kB / 6.715 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002846/15.12, allocations: 4.54 MB / 6.72 GB, free: 189.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/15.12, allocations: 0 / 6.72 GB, free: 189.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009325/15.13, allocations: 6.648 MB / 6.726 GB, free: 189.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/15.13, allocations: 0.7668 MB / 6.727 GB, free: 188.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004748/15.14, allocations: 76.31 kB / 6.727 GB, free: 188.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/15.14, allocations: 205.4 kB / 6.727 GB, free: 188.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003686/15.14, allocations: 226.5 kB / 6.727 GB, free: 188.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/15.14, allocations: 112.2 kB / 6.727 GB, free: 188.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001102/15.14, allocations: 0.8794 MB / 6.728 GB, free: 188.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.293e-06/15.14, allocations: 0 / 6.728 GB, free: 188.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004008/15.14, allocations: 1.306 MB / 6.73 GB, free: 188.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01232/15.16, allocations: 9.418 MB / 6.739 GB, free: 187 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006867/15.16, allocations: 3.933 MB / 6.743 GB, free: 186.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/15.16, allocations: 3.219 kB / 6.743 GB, free: 186.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004002/15.17, allocations: 2.497 MB / 6.745 GB, free: 186.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005535/15.17, allocations: 0.9763 MB / 6.746 GB, free: 186.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/15.19, allocations: 6.478 MB / 6.752 GB, free: 185.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/15.19, allocations: 1.984 MB / 6.754 GB, free: 184.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004195/15.19, allocations: 1.228 MB / 6.755 GB, free: 184.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001861/15.2, allocations: 1.092 MB / 6.756 GB, free: 184.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.372e-06/15.2, allocations: 0 / 6.756 GB, free: 184.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/15.36, allocations: 105.5 MB / 6.86 GB, free: 169.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/15.36, allocations: 167.8 kB / 6.86 GB, free: 169.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/22.18, allocations: 0 / 6.86 GB, free: 169.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat does not exist to compare? outputFormat=mat