Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001811/0.001811, allocations: 188.8 kB / 487.4 MB, free: 5.031 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.534/1.534, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 99.66 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.77e-05/2.793e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2896, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.1/10.39, allocations: 4.438 GB / 5.644 GB, free: 57.09 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/10.39, allocations: 89.38 kB / 5.644 GB, free: 57.04 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.154/14.54, allocations: 0.9781 GB / 6.622 GB, free: 203.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.545e-06/14.54, allocations: 1.156 kB / 6.622 GB, free: 203.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002486/14.54, allocations: 65.86 kB / 6.622 GB, free: 203.3 MB / 1.151 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.01446/14.56, allocations: 3.319 MB / 6.626 GB, free: 202.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.882e-05/14.56, allocations: 10.16 kB / 6.626 GB, free: 202.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006756/14.56, allocations: 0.7481 MB / 6.626 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006373/14.57, allocations: 1.999 MB / 6.628 GB, free: 202 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/14.57, allocations: 85.69 kB / 6.628 GB, free: 202 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/14.57, allocations: 159.2 kB / 6.628 GB, free: 202 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01012/14.58, allocations: 4.145 MB / 6.633 GB, free: 202 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007307/14.59, allocations: 2.721 MB / 6.635 GB, free: 201.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.177e-05/14.59, allocations: 2.062 kB / 6.635 GB, free: 201.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/14.59, allocations: 3.25 kB / 6.635 GB, free: 201.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/14.59, allocations: 124.3 kB / 6.635 GB, free: 201.9 MB / 1.151 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.01707/14.61, allocations: 10.38 MB / 6.645 GB, free: 198.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005407/14.61, allocations: 4.79 MB / 6.65 GB, free: 198 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003103/14.62, allocations: 2.338 MB / 6.652 GB, free: 198 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009254/14.62, allocations: 0.8561 MB / 6.653 GB, free: 197.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.215e-05/14.62, allocations: 79.67 kB / 6.653 GB, free: 197.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=399): time 4.779e-06/14.62, allocations: 0 / 6.653 GB, free: 197.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=399): time 0.008852/14.62, allocations: 4.146 MB / 6.657 GB, free: 196.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/14.62, allocations: 93.95 kB / 6.657 GB, free: 196.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/14.63, allocations: 1.023 MB / 6.658 GB, free: 196.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003188/14.63, allocations: 28.23 kB / 6.658 GB, free: 196.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/14.63, allocations: 0.8026 MB / 6.659 GB, free: 196.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/14.63, allocations: 1.278 MB / 6.66 GB, free: 195.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/14.63, allocations: 0 / 6.66 GB, free: 195.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001673/14.63, allocations: 441.7 kB / 6.661 GB, free: 195.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/14.63, allocations: 1.482 MB / 6.662 GB, free: 195.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/14.63, allocations: 1.753 MB / 6.664 GB, free: 195.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004379/14.64, allocations: 2.122 MB / 6.666 GB, free: 195.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/14.64, allocations: 5.312 kB / 6.666 GB, free: 195.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008831/14.65, allocations: 4.169 MB / 6.67 GB, free: 194.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/14.65, allocations: 3.469 kB / 6.67 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/14.65, allocations: 3.656 kB / 6.67 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-05/14.65, allocations: 22.83 kB / 6.67 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/14.65, allocations: 0.6849 MB / 6.671 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.083e-05/14.65, allocations: 18.5 kB / 6.671 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003766/14.65, allocations: 331.9 kB / 6.671 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005694/14.65, allocations: 118.6 kB / 6.671 GB, free: 194.7 MB / 1.151 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.0009029/14.65, allocations: 151.7 kB / 6.672 GB, free: 194.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009001/14.66, allocations: 4.073 MB / 6.675 GB, free: 194.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/14.66, allocations: 236.8 kB / 6.676 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/14.68, allocations: 4.579 MB / 6.68 GB, free: 194 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-05/14.68, allocations: 38.72 kB / 6.68 GB, free: 194 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.057e-05/14.68, allocations: 5.688 kB / 6.68 GB, free: 194 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008257/14.68, allocations: 3.977 MB / 6.684 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/14.7, allocations: 7.948 MB / 6.692 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/14.7, allocations: 7.344 kB / 6.692 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/14.71, allocations: 0.6572 MB / 6.693 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/14.71, allocations: 135.1 kB / 6.693 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004913/14.71, allocations: 28.78 kB / 6.693 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/14.71, allocations: 4.366 MB / 6.697 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/14.71, allocations: 0 / 6.697 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/14.72, allocations: 6.688 MB / 6.703 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002485/14.73, allocations: 0.7658 MB / 6.704 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009116/14.73, allocations: 3.812 kB / 6.704 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003198/14.73, allocations: 147 kB / 6.704 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004545/14.73, allocations: 227.9 kB / 6.705 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000333/14.73, allocations: 114.9 kB / 6.705 GB, free: 188.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001708/14.73, allocations: 0.8002 MB / 6.705 GB, free: 188.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.41e-07/14.73, allocations: 0 / 6.705 GB, free: 188.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007209/14.74, allocations: 1.129 MB / 6.707 GB, free: 188.4 MB / 1.151 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.01697/14.76, allocations: 9.668 MB / 6.716 GB, free: 186.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006721/14.76, allocations: 3.761 MB / 6.72 GB, free: 186.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/14.76, allocations: 3.688 kB / 6.72 GB, free: 186.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003851/14.77, allocations: 2.387 MB / 6.722 GB, free: 186.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006856/14.78, allocations: 0.9108 MB / 6.723 GB, free: 186.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/14.79, allocations: 6.168 MB / 6.729 GB, free: 185.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/14.79, allocations: 1.988 MB / 6.731 GB, free: 184.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005085/14.8, allocations: 1.228 MB / 6.732 GB, free: 184.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002642/14.8, allocations: 1.091 MB / 6.733 GB, free: 184.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.725e-06/14.8, allocations: 0 / 6.733 GB, free: 184.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1521/14.95, allocations: 80.71 MB / 6.812 GB, free: 172.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/14.95, allocations: 139.7 kB / 6.812 GB, free: 172.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.287/21.24, allocations: 0 / 6.812 GB, free: 172.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat does not exist to compare? outputFormat=mat