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.001019/0.00102, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001005/0.001006, allocations: 177.3 kB / 15.95 MB, free: 216 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.16/1.16, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.228/2.228, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5959/0.5963, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1485/0.7448, allocations: 140.2 MB / 1.118 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.7601, allocations: 13.92 MB / 1.131 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009021/0.761, allocations: 27.81 kB / 1.131 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008529/0.7619, allocations: 318.1 kB / 1.132 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.7648, allocations: 1.224 MB / 1.133 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.7672, allocations: 1.003 MB / 1.134 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.7689, allocations: 1.498 MB / 1.135 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.7705, allocations: 1.453 MB / 1.137 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.7717, allocations: 0.864 MB / 1.138 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006192/0.7723, allocations: 0.6023 MB / 1.138 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.7724, allocations: 44 kB / 1.138 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.7742, allocations: 0.901 MB / 1.139 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.7745, allocations: 346.6 kB / 1.139 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.7747, allocations: 336.7 kB / 1.14 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.7767, allocations: 2.17 MB / 1.142 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7767, allocations: 0 / 1.142 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7767, allocations: 0 / 1.142 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.971e-05/0.7767, allocations: 0 / 1.142 GB, free: 1.023 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.002952/0.7797, allocations: 1.882 MB / 1.144 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.7798, allocations: 16.03 kB / 1.144 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002649/0.78, allocations: 249 kB / 1.144 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.7832, allocations: 0.5128 MB / 1.144 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.7847, allocations: 1.047 MB / 1.145 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.7848, allocations: 123.4 kB / 1.146 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.785, allocations: 172 kB / 1.146 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/0.7877, allocations: 1.824 MB / 1.148 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.7877, allocations: 0 / 1.148 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.7879, allocations: 76 kB / 1.148 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.7879, allocations: 40 kB / 1.148 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003015/0.7909, allocations: 1.871 MB / 1.149 GB, free: 9.051 MB / 0.9044 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.006938/0.7979, allocations: 5.2 MB / 1.155 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/0.8005, allocations: 1.506 MB / 1.156 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004283/0.8009, allocations: 474.7 kB / 1.156 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/0.8023, allocations: 0.8879 MB / 1.157 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 2.665e-06/0.8023, allocations: 4 kB / 1.157 GB, free: 0.6328 MB / 0.9044 GB Notification: Performance of matching and sorting (n=146): time 0.005272/0.8076, allocations: 2.547 MB / 1.16 GB, free: 13.97 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/0.8077, allocations: 201.2 kB / 1.16 GB, free: 13.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009467/0.8086, allocations: 0.8232 MB / 1.161 GB, free: 12.88 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.8088, allocations: 65.62 kB / 1.161 GB, free: 12.81 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.8092, allocations: 0.6445 MB / 1.162 GB, free: 12.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.8096, allocations: 485 kB / 1.162 GB, free: 11.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.8096, allocations: 20 kB / 1.162 GB, free: 11.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8098, allocations: 357.9 kB / 1.162 GB, free: 11.3 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008644/0.8106, allocations: 470.3 kB / 1.163 GB, free: 10.84 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.8118, allocations: 0.6184 MB / 1.163 GB, free: 10.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009941/0.8128, allocations: 0.5334 MB / 1.164 GB, free: 9.652 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.8128, allocations: 3.953 kB / 1.164 GB, free: 9.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003053/0.8158, allocations: 1.487 MB / 1.165 GB, free: 8.137 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.8159, allocations: 9.344 kB / 1.165 GB, free: 8.129 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.8159, allocations: 3.938 kB / 1.165 GB, free: 8.125 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008173/0.8167, allocations: 196.2 kB / 1.166 GB, free: 7.918 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.8181, allocations: 331.5 kB / 1.166 GB, free: 7.594 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/0.8233, allocations: 6.811 MB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.8247, allocations: 170.8 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.8248, allocations: 51.97 kB / 1.173 GB, free: 15.9 MB / 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.0007166/0.8255, allocations: 373.6 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.8257, allocations: 134.5 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003754/0.8295, allocations: 1.846 MB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.8295, allocations: 20 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8295, allocations: 4 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.8295, allocations: 7.969 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004936/0.8345, allocations: 3.267 MB / 1.178 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.8345, allocations: 0 / 1.178 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.8359, allocations: 323.8 kB / 1.179 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007362/0.8366, allocations: 192.1 kB / 1.179 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-05/0.8367, allocations: 47.97 kB / 1.179 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00471/0.8414, allocations: 6.85 MB / 1.185 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.8415, allocations: 7.938 kB / 1.185 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/0.8449, allocations: 1.852 MB / 1.187 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006917/0.8456, allocations: 418.9 kB / 1.188 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.8458, allocations: 35.98 kB / 1.188 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.847, allocations: 137.8 kB / 1.188 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.8472, allocations: 125.1 kB / 1.188 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.8474, allocations: 71.95 kB / 1.188 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007818/0.8482, allocations: 0.5707 MB / 1.189 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8482, allocations: 3.938 kB / 1.189 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001524/0.8497, allocations: 0.5805 MB / 1.189 GB, free: 14.11 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0052/0.8549, allocations: 3.584 MB / 1.193 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003077/0.858, allocations: 1.817 MB / 1.194 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.858, allocations: 4.562 kB / 1.194 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/0.86, allocations: 1.317 MB / 1.196 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.8621, allocations: 448.7 kB / 1.196 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.8773, allocations: 8.919 MB / 1.205 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008281/0.8781, allocations: 1.331 MB / 1.206 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001694/0.8798, allocations: 438.2 kB / 1.207 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008019/0.8806, allocations: 0.6554 MB / 1.207 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of SimCode: time 4.8e-07/0.8807, allocations: 0 / 1.207 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.143/2.023, allocations: 36.81 MB / 1.243 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0009482/2.024, allocations: 284.6 kB / 1.243 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.97/6.995, allocations: 0 / 1.243 GB, free: 6.492 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