Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.0008115/0.0008116, allocations: 90.75 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.0009148/0.0009149, 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.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.309 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.534/2.534, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 12 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6738/0.6742, allocations: 142.3 MB / 0.9538 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1704/0.8446, allocations: 151.6 MB / 1.102 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02146/0.8661, allocations: 15.67 MB / 1.117 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.8677, allocations: 31.81 kB / 1.117 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.8691, allocations: 361.4 kB / 1.118 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.8729, allocations: 1.197 MB / 1.119 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.8758, allocations: 1.003 MB / 1.12 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002852/0.8787, allocations: 2.369 MB / 1.122 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.8806, allocations: 1.433 MB / 1.123 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.8822, allocations: 0.9219 MB / 1.124 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008324/0.8831, allocations: 0.6996 MB / 1.125 GB, free: 396 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.8832, allocations: 44 kB / 1.125 GB, free: 352 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.8854, allocations: 0.9085 MB / 1.126 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003535/0.8858, allocations: 354.5 kB / 1.126 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.8861, allocations: 340.7 kB / 1.127 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.8883, allocations: 2.17 MB / 1.129 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8883, allocations: 0 / 1.129 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8883, allocations: 0 / 1.129 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.8883, allocations: 0 / 1.129 GB, free: 12.57 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003225/0.8916, allocations: 1.89 MB / 1.131 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.8916, allocations: 8.031 kB / 1.131 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003051/0.8919, allocations: 253 kB / 1.131 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003203/0.8951, allocations: 0.5167 MB / 1.131 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.8968, allocations: 1.051 MB / 1.132 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.752e-05/0.8969, allocations: 131.4 kB / 1.133 GB, free: 8.609 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.8971, allocations: 168 kB / 1.133 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/0.9004, allocations: 1.828 MB / 1.134 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.9005, allocations: 3.938 kB / 1.134 GB, free: 6.562 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.9006, allocations: 76 kB / 1.135 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.9007, allocations: 40 kB / 1.135 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003374/0.904, allocations: 1.871 MB / 1.136 GB, free: 4.574 MB / 0.8887 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.008348/0.9124, allocations: 5.205 MB / 1.141 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.9155, allocations: 1.767 MB / 1.143 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.9167, allocations: 0.6476 MB / 1.144 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008631/0.9176, allocations: 0.8078 MB / 1.145 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001594/0.9192, allocations: 0.8918 MB / 1.145 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 2.985e-06/0.9192, allocations: 0 / 1.145 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=146): time 0.005842/0.9251, allocations: 2.564 MB / 1.148 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.9252, allocations: 205.2 kB / 1.148 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.9263, allocations: 0.8231 MB / 1.149 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.9265, allocations: 57.7 kB / 1.149 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000502/0.927, allocations: 0.6485 MB / 1.15 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/0.9274, allocations: 484.9 kB / 1.15 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.9274, allocations: 32 kB / 1.15 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.9276, allocations: 353.9 kB / 1.151 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000925/0.9285, allocations: 478.3 kB / 1.151 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.9296, allocations: 0.6301 MB / 1.152 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.9306, allocations: 0.5373 MB / 1.152 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.9306, allocations: 0 / 1.152 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003233/0.9339, allocations: 1.503 MB / 1.154 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.9339, allocations: 4 kB / 1.154 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.9339, allocations: 0 / 1.154 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00086/0.9348, allocations: 192.2 kB / 1.154 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.9363, allocations: 327.6 kB / 1.154 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005344/0.9417, allocations: 6.769 MB / 1.161 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.9431, allocations: 176.1 kB / 1.161 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.9432, allocations: 47.97 kB / 1.161 GB, free: 9.996 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008272/0.944, allocations: 373.6 kB / 1.161 GB, free: 9.621 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.9443, allocations: 130.4 kB / 1.161 GB, free: 9.492 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/0.9482, allocations: 1.862 MB / 1.163 GB, free: 7.605 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.9483, allocations: 16 kB / 1.163 GB, free: 7.59 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9483, allocations: 0 / 1.163 GB, free: 7.59 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.9483, allocations: 7.969 kB / 1.163 GB, free: 7.582 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005973/0.9543, allocations: 3.451 MB / 1.167 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.9543, allocations: 4 kB / 1.167 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.9557, allocations: 315.6 kB / 1.167 GB, free: 3.742 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007755/0.9565, allocations: 200 kB / 1.167 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.9566, allocations: 43.95 kB / 1.167 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005066/0.9617, allocations: 6.798 MB / 1.174 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9617, allocations: 0 / 1.174 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/0.9654, allocations: 1.707 MB / 1.175 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007488/0.9662, allocations: 418.8 kB / 1.176 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.9664, allocations: 28 kB / 1.176 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.9676, allocations: 146.9 kB / 1.176 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.9678, allocations: 117 kB / 1.176 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/0.9679, allocations: 75.94 kB / 1.176 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008209/0.9688, allocations: 0.5746 MB / 1.177 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9688, allocations: 0 / 1.177 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001589/0.9704, allocations: 0.5727 MB / 1.177 GB, free: 8.332 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005128/0.9755, allocations: 2.878 MB / 1.18 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003305/0.9788, allocations: 1.836 MB / 1.182 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.9789, allocations: 0.5625 kB / 1.182 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.9808, allocations: 1.309 MB / 1.183 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.9829, allocations: 464.6 kB / 1.184 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/0.9984, allocations: 8.484 MB / 1.192 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009434/0.9994, allocations: 1.301 MB / 1.193 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001909/1.001, allocations: 434.1 kB / 1.194 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009357/1.002, allocations: 0.6515 MB / 1.194 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of SimCode: time 7.11e-07/1.002, allocations: 0 / 1.194 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06409/1.066, allocations: 36.83 MB / 1.23 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/1.067, allocations: 279.1 kB / 1.23 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.76/3.826, allocations: 0 / 1.23 GB, free: 1.953 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat does not exist to compare? outputFormat=mat