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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 92.08 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.001434/0.001434, 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.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.485/2.485, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5857/0.586, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2019/0.788, allocations: 199 MB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02379/0.8118, allocations: 19.11 MB / 1.194 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002145/0.814, allocations: 47.69 kB / 1.194 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.8163, allocations: 0.8076 MB / 1.195 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008415/0.8247, allocations: 3.036 MB / 1.198 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.8279, allocations: 1.059 MB / 1.199 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00858/0.8365, allocations: 8.028 MB / 1.207 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.839, allocations: 1.732 MB / 1.209 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003391/0.8424, allocations: 2.005 MB / 1.21 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003623/0.846, allocations: 2.407 MB / 1.213 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005535/0.8466, allocations: 160 kB / 1.213 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005307/0.8519, allocations: 1.719 MB / 1.215 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.8537, allocations: 1.266 MB / 1.216 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.8554, allocations: 0.6329 MB / 1.217 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0059/0.8613, allocations: 3.959 MB / 1.22 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.8614, allocations: 0 / 1.22 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8614, allocations: 0 / 1.22 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001231/0.8615, allocations: 4 kB / 1.22 GB, free: 0.5508 MB / 0.9669 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.008472/0.87, allocations: 3.477 MB / 1.224 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.87, allocations: 8.031 kB / 1.224 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008923/0.8709, allocations: 391.8 kB / 1.224 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004611/0.8756, allocations: 0.8314 MB / 1.225 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/0.879, allocations: 1.833 MB / 1.227 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.8792, allocations: 209.4 kB / 1.227 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/0.8796, allocations: 267.9 kB / 1.227 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005312/0.8849, allocations: 3.259 MB / 1.23 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-05/0.8849, allocations: 0 / 1.23 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002468/0.8852, allocations: 108 kB / 1.231 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.8853, allocations: 129.4 kB / 1.231 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007005/0.8923, allocations: 4.604 MB / 1.235 GB, free: 1.266 MB / 0.9825 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.01453/0.9069, allocations: 10.89 MB / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006245/0.9132, allocations: 4.848 MB / 1.25 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4755/1.389, allocations: 2.511 MB / 1.253 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009165/1.39, allocations: 0.8636 MB / 1.254 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/1.39, allocations: 78.05 kB / 1.254 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 5.541e-06/1.39, allocations: 4.094 kB / 1.254 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.01032/1.4, allocations: 6.002 MB / 1.26 GB, free: 261.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/1.4, allocations: 96.77 kB / 1.26 GB, free: 261.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/1.402, allocations: 1.214 MB / 1.261 GB, free: 260.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002288/1.402, allocations: 96.05 kB / 1.261 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005882/1.403, allocations: 0.8142 MB / 1.262 GB, free: 260.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.404, allocations: 1.332 MB / 1.263 GB, free: 259.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/1.404, allocations: 66 kB / 1.263 GB, free: 259.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001972/1.404, allocations: 444.8 kB / 1.264 GB, free: 258.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/1.407, allocations: 1.59 MB / 1.265 GB, free: 258.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/1.41, allocations: 1.905 MB / 1.267 GB, free: 257.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/1.412, allocations: 1.886 MB / 1.269 GB, free: 256.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/1.412, allocations: 0 / 1.269 GB, free: 256.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005496/1.418, allocations: 4.17 MB / 1.273 GB, free: 255.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/1.418, allocations: 11.25 kB / 1.273 GB, free: 255.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/1.418, allocations: 3.906 kB / 1.273 GB, free: 255.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-05/1.418, allocations: 22.17 kB / 1.273 GB, free: 255.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/1.42, allocations: 0.6738 MB / 1.274 GB, free: 255.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.688e-05/1.42, allocations: 28.42 kB / 1.274 GB, free: 255 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/1.423, allocations: 403.1 kB / 1.274 GB, free: 254.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/1.423, allocations: 112.1 kB / 1.274 GB, free: 254.8 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 (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.001171/1.424, allocations: 0.7292 MB / 1.275 GB, free: 254.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004695/1.425, allocations: 243.6 kB / 1.275 GB, free: 254.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006354/1.431, allocations: 4.635 MB / 1.28 GB, free: 250.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/1.431, allocations: 36 kB / 1.28 GB, free: 250.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/1.431, allocations: 7.953 kB / 1.28 GB, free: 250.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004845/1.436, allocations: 3.941 MB / 1.284 GB, free: 246.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/1.447, allocations: 8.258 MB / 1.292 GB, free: 238.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.447, allocations: 0 / 1.292 GB, free: 238.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/1.449, allocations: 0.659 MB / 1.292 GB, free: 237.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004287/1.45, allocations: 142.2 kB / 1.292 GB, free: 237.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002307/1.45, allocations: 87.92 kB / 1.293 GB, free: 237.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/1.452, allocations: 4.514 MB / 1.297 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.452, allocations: 0 / 1.297 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008358/1.461, allocations: 6.791 MB / 1.304 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/1.462, allocations: 0.7699 MB / 1.304 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004826/1.463, allocations: 68 kB / 1.304 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/1.465, allocations: 215.2 kB / 1.305 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/1.465, allocations: 230.8 kB / 1.305 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/1.465, allocations: 112 kB / 1.305 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001111/1.467, allocations: 0.8521 MB / 1.306 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.467, allocations: 0 / 1.306 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00263/1.469, allocations: 1.082 MB / 1.307 GB, free: 222.5 MB / 0.9981 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 () * Number of clocked 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.008907/1.478, allocations: 7.589 MB / 1.314 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005169/1.483, allocations: 4.022 MB / 1.318 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.483, allocations: 2 kB / 1.318 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/1.486, allocations: 2.545 MB / 1.321 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004828/1.491, allocations: 1.035 MB / 1.322 GB, free: 207.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/1.521, allocations: 19.65 MB / 1.341 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/1.523, allocations: 1.935 MB / 1.343 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004363/1.527, allocations: 1.219 MB / 1.344 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/1.529, allocations: 1.097 MB / 1.345 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.529, allocations: 4 kB / 1.345 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07973/1.609, allocations: 66.46 MB / 1.41 GB, free: 116.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001236/1.609, allocations: 211.1 kB / 1.41 GB, free: 116.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.431/5.04, allocations: 0 / 1.41 GB, free: 116.5 MB / 0.9981 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) Environment - environmentSimulation: 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