Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.001042/0.001042, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001243/0.001243, allocations: 172.7 kB / 15.95 MB, free: 208 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.333/1.333, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.502/2.502, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003377, allocations: 11.98 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6759/0.6763, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1657/0.8421, allocations: 151.7 MB / 1.129 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.8534, allocations: 7.968 MB / 1.137 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.8548, allocations: 27.81 kB / 1.137 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.8562, allocations: 437.4 kB / 1.137 GB, free: 5.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003562/0.8598, allocations: 1.293 MB / 1.139 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.8624, allocations: 0.7343 MB / 1.139 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006014/0.8684, allocations: 4.595 MB / 1.144 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.8703, allocations: 0.9796 MB / 1.145 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002861/0.8732, allocations: 1.242 MB / 1.146 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/0.8757, allocations: 1.452 MB / 1.148 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002391/0.8759, allocations: 88 kB / 1.148 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.8784, allocations: 0.8305 MB / 1.148 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006474/0.8791, allocations: 0.5608 MB / 1.149 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005776/0.8797, allocations: 368.8 kB / 1.149 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.8819, allocations: 1.976 MB / 1.151 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.882, allocations: 0 / 1.151 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.603e-06/0.882, allocations: 0 / 1.151 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.309e-05/0.882, allocations: 7.938 kB / 1.151 GB, free: 7.535 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004264/0.8863, allocations: 2.024 MB / 1.153 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.8863, allocations: 8.031 kB / 1.153 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003815/0.8867, allocations: 223.7 kB / 1.153 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004656/0.8872, allocations: 197.7 kB / 1.154 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.8892, allocations: 1.142 MB / 1.155 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.782e-05/0.8893, allocations: 115 kB / 1.155 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.8895, allocations: 151.9 kB / 1.155 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/0.8926, allocations: 1.915 MB / 1.157 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.8926, allocations: 3.906 kB / 1.157 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.8928, allocations: 67.95 kB / 1.157 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.8928, allocations: 36 kB / 1.157 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003907/0.8967, allocations: 2.478 MB / 1.159 GB, free: 15.02 MB / 0.92 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.008231/0.905, allocations: 6.105 MB / 1.165 GB, free: 8.543 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003775/0.9088, allocations: 2.786 MB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00222/0.911, allocations: 1.417 MB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001735/0.9128, allocations: 1.75 MB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/0.9129, allocations: 60.52 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of pre-optimization done (n=237): time 4.678e-06/0.9129, allocations: 0 / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=237): time 0.005968/0.9189, allocations: 3.442 MB / 1.175 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.9189, allocations: 77.41 kB / 1.175 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.92, allocations: 0.7548 MB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.9202, allocations: 65.7 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.9206, allocations: 486.2 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000695/0.9213, allocations: 0.793 MB / 1.177 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.9214, allocations: 40 kB / 1.177 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.9216, allocations: 390 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.9231, allocations: 0.9019 MB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.9248, allocations: 1.125 MB / 1.179 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.9266, allocations: 1.084 MB / 1.18 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.9266, allocations: 0 / 1.18 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004075/0.9307, allocations: 2.432 MB / 1.183 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.9307, allocations: 8 kB / 1.183 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.9308, allocations: 4 kB / 1.183 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.9308, allocations: 12 kB / 1.183 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.9324, allocations: 443.6 kB / 1.183 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/0.9325, allocations: 19.98 kB / 1.183 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.9337, allocations: 202.3 kB / 1.183 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.9338, allocations: 75.98 kB / 1.183 GB, free: 5.664 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.000738/0.9346, allocations: 437.2 kB / 1.184 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.9348, allocations: 146.3 kB / 1.184 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004984/0.9398, allocations: 2.729 MB / 1.186 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.9399, allocations: 27.94 kB / 1.187 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.9399, allocations: 3.984 kB / 1.187 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003609/0.9435, allocations: 2.385 MB / 1.189 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006823/0.9504, allocations: 4.287 MB / 1.193 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.9504, allocations: 3.938 kB / 1.193 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.952, allocations: 415.5 kB / 1.193 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005577/0.9526, allocations: 105.6 kB / 1.194 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/0.9528, allocations: 51.98 kB / 1.194 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000839/0.9536, allocations: 1.113 MB / 1.195 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.9536, allocations: 0 / 1.195 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006436/0.9601, allocations: 4.062 MB / 1.199 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009518/0.961, allocations: 486.5 kB / 1.199 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.9613, allocations: 40 kB / 1.199 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000962/0.9622, allocations: 115.8 kB / 1.199 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.9625, allocations: 141.8 kB / 1.199 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.9626, allocations: 67.98 kB / 1.199 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000758/0.9634, allocations: 0.5341 MB / 1.2 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9634, allocations: 0 / 1.2 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001547/0.965, allocations: 0.6397 MB / 1.201 GB, free: 3.652 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007309/0.9723, allocations: 4.881 MB / 1.205 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003698/0.976, allocations: 2.317 MB / 1.208 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.976, allocations: 192 / 1.208 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001989/0.978, allocations: 1.28 MB / 1.209 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.9807, allocations: 0.5478 MB / 1.209 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/0.9978, allocations: 10.95 MB / 1.22 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.999, allocations: 1.339 MB / 1.221 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00222/1.001, allocations: 0.727 MB / 1.222 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.002, allocations: 0.6242 MB / 1.223 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of SimCode: time 8.21e-07/1.002, allocations: 0 / 1.223 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5801/1.582, allocations: 38.98 MB / 1.261 GB, free: 262.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/1.583, allocations: 215.2 kB / 1.261 GB, free: 262.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.8/4.383, allocations: 0 / 1.261 GB, free: 262.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat does not exist to compare? outputFormat=mat