Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_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.0009213/0.0009212, 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.0008501/0.0008501, 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.309/1.309, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.409/2.409, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003616, allocations: 12 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7144, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1641/0.8786, allocations: 151.6 MB / 1.129 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.8979, allocations: 15.68 MB / 1.145 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.8991, allocations: 23.81 kB / 1.145 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.9004, allocations: 369.4 kB / 1.145 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003518/0.9039, allocations: 1.176 MB / 1.146 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.9068, allocations: 1.018 MB / 1.147 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002792/0.9096, allocations: 2.361 MB / 1.149 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.9119, allocations: 1.456 MB / 1.151 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.9138, allocations: 0.9103 MB / 1.152 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.915, allocations: 0.7035 MB / 1.152 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.9153, allocations: 40 kB / 1.152 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.9176, allocations: 0.9086 MB / 1.153 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004999/0.9182, allocations: 358.5 kB / 1.154 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005107/0.9187, allocations: 340.6 kB / 1.154 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.9215, allocations: 2.17 MB / 1.156 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9216, allocations: 0 / 1.156 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.617e-06/0.9216, allocations: 4 kB / 1.156 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.953e-05/0.9217, allocations: 0 / 1.156 GB, free: 2.602 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003964/0.9256, allocations: 1.886 MB / 1.158 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.9257, allocations: 8.031 kB / 1.158 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005414/0.9262, allocations: 249 kB / 1.158 GB, free: 400 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003685/0.9299, allocations: 0.5206 MB / 1.159 GB, free: 15.87 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.9323, allocations: 1.044 MB / 1.16 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.9324, allocations: 127.4 kB / 1.16 GB, free: 14.66 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003508/0.9328, allocations: 168 kB / 1.16 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003736/0.9365, allocations: 1.832 MB / 1.162 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.9366, allocations: 4 kB / 1.162 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.9368, allocations: 72 kB / 1.162 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.9368, allocations: 44 kB / 1.162 GB, free: 12.49 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003438/0.9403, allocations: 1.867 MB / 1.164 GB, free: 10.62 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.008483/0.9488, allocations: 5.227 MB / 1.169 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.9518, allocations: 1.762 MB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.9529, allocations: 0.6437 MB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008797/0.9538, allocations: 0.8117 MB / 1.172 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001607/0.9555, allocations: 0.8918 MB / 1.173 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 4.308e-06/0.9555, allocations: 0 / 1.173 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.005791/0.9613, allocations: 2.568 MB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.9614, allocations: 201.2 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.9626, allocations: 0.8232 MB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.9627, allocations: 57.7 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000517/0.9632, allocations: 0.6522 MB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004101/0.9637, allocations: 485 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-05/0.9637, allocations: 20 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.9639, allocations: 357.9 kB / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009564/0.9649, allocations: 474.4 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.966, allocations: 0.634 MB / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.967, allocations: 0.5373 MB / 1.179 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.9671, allocations: 4 kB / 1.179 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003201/0.9703, allocations: 1.495 MB / 1.181 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.9703, allocations: 4 kB / 1.181 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.9703, allocations: 4 kB / 1.181 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008427/0.9712, allocations: 192.2 kB / 1.181 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.9727, allocations: 327.6 kB / 1.181 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005708/0.9784, allocations: 6.776 MB / 1.188 GB, free: 252 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.9798, allocations: 170.8 kB / 1.188 GB, free: 80 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/0.98, allocations: 55.95 kB / 1.188 GB, free: 24 kB / 0.9356 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.001043/0.981, allocations: 373.5 kB / 1.189 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003944/0.9814, allocations: 130.5 kB / 1.189 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/0.9858, allocations: 1.862 MB / 1.19 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.9858, allocations: 16 kB / 1.191 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.9859, allocations: 0 / 1.191 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.9859, allocations: 11.97 kB / 1.191 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006228/0.9921, allocations: 3.439 MB / 1.194 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.9921, allocations: 0 / 1.194 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/0.9936, allocations: 323.5 kB / 1.194 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007623/0.9944, allocations: 188.1 kB / 1.194 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.9945, allocations: 39.97 kB / 1.194 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005619/1, allocations: 6.798 MB / 1.201 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1, allocations: 4.078 kB / 1.201 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004096/1.004, allocations: 1.707 MB / 1.203 GB, free: 324 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008969/1.005, allocations: 418.9 kB / 1.203 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/1.006, allocations: 31.98 kB / 1.203 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/1.007, allocations: 144 kB / 1.203 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/1.007, allocations: 109.1 kB / 1.203 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/1.007, allocations: 79.89 kB / 1.203 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009291/1.008, allocations: 0.5707 MB / 1.204 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.008, allocations: 0 / 1.204 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001786/1.01, allocations: 0.5804 MB / 1.205 GB, free: 14.37 MB / 0.9669 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.005537/1.016, allocations: 2.885 MB / 1.207 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003174/1.019, allocations: 1.828 MB / 1.209 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.019, allocations: 0.5625 kB / 1.209 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001911/1.021, allocations: 1.305 MB / 1.21 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/1.023, allocations: 473.8 kB / 1.211 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/1.04, allocations: 8.484 MB / 1.219 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/1.041, allocations: 1.3 MB / 1.22 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00204/1.043, allocations: 438.1 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.044, allocations: 0.6554 MB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/1.044, allocations: 0 / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5369/1.581, allocations: 36.82 MB / 1.257 GB, free: 258 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/1.581, allocations: 270.8 kB / 1.258 GB, free: 257.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/4.526, allocations: 0 / 1.258 GB, free: 257.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat does not exist to compare? outputFormat=mat