Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp",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.001216/0.001216, allocations: 91.52 kB / 15.06 MB, free: 1.078 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.001561/0.001561, allocations: 176.7 kB / 15.95 MB, free: 192 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.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.426 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.333/2.333, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003081, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6565/0.6568, allocations: 142.3 MB / 0.9538 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.177/0.8339, allocations: 159.1 MB / 1.109 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01793/0.8518, allocations: 14.41 MB / 1.123 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.8533, allocations: 31.81 kB / 1.123 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.8546, allocations: 409.2 kB / 1.124 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003571/0.8582, allocations: 1.162 MB / 1.125 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.8618, allocations: 1.24 MB / 1.126 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003494/0.8653, allocations: 2.782 MB / 1.129 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.8674, allocations: 1.4 MB / 1.13 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.8693, allocations: 0.9999 MB / 1.131 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.8703, allocations: 0.8165 MB / 1.132 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.8704, allocations: 51.94 kB / 1.132 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.8724, allocations: 0.8461 MB / 1.133 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.8728, allocations: 386.5 kB / 1.133 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.8732, allocations: 352.7 kB / 1.134 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.8752, allocations: 2.112 MB / 1.136 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8752, allocations: 0 / 1.136 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8752, allocations: 0 / 1.136 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.8752, allocations: 0 / 1.136 GB, free: 5.52 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.003086/0.8783, allocations: 1.924 MB / 1.137 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.8783, allocations: 8.031 kB / 1.137 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002517/0.8786, allocations: 240.3 kB / 1.138 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/0.8812, allocations: 477.2 kB / 1.138 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.8827, allocations: 1.063 MB / 1.139 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.074e-05/0.8828, allocations: 127.2 kB / 1.139 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.883, allocations: 155.9 kB / 1.139 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/0.8857, allocations: 1.768 MB / 1.141 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.8857, allocations: 4 kB / 1.141 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.8859, allocations: 71.98 kB / 1.141 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.832e-05/0.8859, allocations: 51.94 kB / 1.141 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/0.8887, allocations: 1.76 MB / 1.143 GB, free: 13.69 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.007452/0.8961, allocations: 5.894 MB / 1.149 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.8987, allocations: 1.56 MB / 1.15 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000964/0.8997, allocations: 0.5672 MB / 1.151 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008756/0.9006, allocations: 0.8866 MB / 1.152 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/0.902, allocations: 0.801 MB / 1.153 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=126): time 2.515e-06/0.902, allocations: 4 kB / 1.153 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=126): time 0.004478/0.9065, allocations: 1.891 MB / 1.154 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.9067, allocations: 192.9 kB / 1.155 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.9081, allocations: 0.9836 MB / 1.155 GB, free: 272 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.9082, allocations: 53.7 kB / 1.156 GB, free: 212 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00058/0.9088, allocations: 0.6569 MB / 1.156 GB, free: 15.54 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.9091, allocations: 421.8 kB / 1.157 GB, free: 15.12 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.9092, allocations: 20 kB / 1.157 GB, free: 15.1 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.9093, allocations: 353.9 kB / 1.157 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008174/0.9102, allocations: 430.4 kB / 1.157 GB, free: 14.33 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.9112, allocations: 0.5936 MB / 1.158 GB, free: 13.69 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009189/0.9121, allocations: 498.3 kB / 1.158 GB, free: 13.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9121, allocations: 3.938 kB / 1.158 GB, free: 13.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0029/0.9151, allocations: 1.297 MB / 1.16 GB, free: 11.89 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.9151, allocations: 4 kB / 1.16 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.9151, allocations: 0 / 1.16 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/0.9156, allocations: 88.92 kB / 1.16 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.9169, allocations: 283.6 kB / 1.16 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.9189, allocations: 1.536 MB / 1.162 GB, free: 9.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.9201, allocations: 174.8 kB / 1.162 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.77e-05/0.9202, allocations: 43.97 kB / 1.162 GB, free: 9.625 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (136): * Single equations (assignments): 135 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007554/0.921, allocations: 381.5 kB / 1.162 GB, free: 9.242 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.9212, allocations: 142.3 kB / 1.162 GB, free: 9.102 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/0.9246, allocations: 1.621 MB / 1.164 GB, free: 7.465 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.9247, allocations: 15.94 kB / 1.164 GB, free: 7.449 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.9247, allocations: 4 kB / 1.164 GB, free: 7.445 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.9247, allocations: 3.984 kB / 1.164 GB, free: 7.441 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005284/0.93, allocations: 3.165 MB / 1.167 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.93, allocations: 0 / 1.167 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.9312, allocations: 267.7 kB / 1.167 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004579/0.9317, allocations: 84.72 kB / 1.167 GB, free: 3.871 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.688e-05/0.9318, allocations: 35.97 kB / 1.167 GB, free: 3.836 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.9337, allocations: 1.571 MB / 1.169 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.9337, allocations: 4.031 kB / 1.169 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/0.9377, allocations: 2.18 MB / 1.171 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007621/0.9384, allocations: 418.9 kB / 1.171 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.9386, allocations: 20 kB / 1.171 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.9397, allocations: 134.9 kB / 1.172 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.9399, allocations: 97.17 kB / 1.172 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.94, allocations: 59.95 kB / 1.172 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009404/0.941, allocations: 0.6763 MB / 1.172 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.941, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001355/0.9423, allocations: 0.5258 MB / 1.173 GB, free: 13.98 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005472/0.9478, allocations: 3.335 MB / 1.176 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002371/0.9502, allocations: 1.24 MB / 1.177 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.9502, allocations: 8.5 kB / 1.177 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.9515, allocations: 0.7596 MB / 1.178 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.9538, allocations: 0.5133 MB / 1.179 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.9696, allocations: 8.805 MB / 1.187 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009446/0.9706, allocations: 1.307 MB / 1.188 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001768/0.9724, allocations: 442.8 kB / 1.189 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009089/0.9733, allocations: 0.6554 MB / 1.19 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of SimCode: time 9.22e-07/0.9733, allocations: 0 / 1.19 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06357/1.037, allocations: 36.7 MB / 1.225 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/1.037, allocations: 259.3 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/3.79, allocations: 0 / 1.226 GB, free: 8.145 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat does not exist to compare? outputFormat=mat