Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.377/2.377, allocations: 393.5 MB / 408.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 179 kB / 0.4901 GB, free: 2.262 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008944/0.0008943, allocations: 100.5 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 10.48 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3074, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/0.5153, allocations: 159.7 MB / 1.385 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.5156, allocations: 87.95 kB / 1.385 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1118/0.6274, allocations: 28.98 MB / 1.414 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6275, allocations: 0 / 1.414 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001126/0.6276, allocations: 16 kB / 1.414 GB, free: 12.56 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.004273/0.6319, allocations: 1.199 MB / 1.415 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.6319, allocations: 12.56 kB / 1.415 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/0.6321, allocations: 66.53 kB / 1.415 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005065/0.6326, allocations: 102.8 kB / 1.415 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/0.6362, allocations: 1.061 MB / 1.416 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.6363, allocations: 44.59 kB / 1.416 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.6364, allocations: 59.91 kB / 1.416 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008025/0.6373, allocations: 410.9 kB / 1.417 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.6373, allocations: 0 / 1.417 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.993e-05/0.6374, allocations: 12 kB / 1.417 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.6374, allocations: 8 kB / 1.417 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005765/0.638, allocations: 242.4 kB / 1.417 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004694/0.6427, allocations: 2.576 MB / 1.419 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.6444, allocations: 0.5577 MB / 1.42 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.6444, allocations: 4 kB / 1.42 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.6445, allocations: 34.56 kB / 1.42 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 2.886e-06/0.6445, allocations: 0 / 1.42 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.002083/0.6466, allocations: 0.884 MB / 1.421 GB, free: 4.902 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.6466, allocations: 55.41 kB / 1.421 GB, free: 4.836 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.6483, allocations: 0.8208 MB / 1.422 GB, free: 4.008 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.527e-05/0.6484, allocations: 41.7 kB / 1.422 GB, free: 3.961 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.6488, allocations: 360.8 kB / 1.422 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.649, allocations: 118.3 kB / 1.422 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.649, allocations: 24 kB / 1.422 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.6492, allocations: 394.7 kB / 1.422 GB, free: 3.066 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/0.6497, allocations: 241.8 kB / 1.423 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007322/0.6504, allocations: 0.631 MB / 1.423 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.6511, allocations: 339.4 kB / 1.424 GB, free: 1.672 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.6511, allocations: 7.938 kB / 1.424 GB, free: 1.664 MB / 0.9167 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001877/0.653, allocations: 1.014 MB / 1.425 GB, free: 0.6328 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.653, allocations: 12 kB / 1.425 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.653, allocations: 16 kB / 1.425 GB, free: 0.6055 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004637/0.6535, allocations: 126.7 kB / 1.425 GB, free: 484 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/0.6542, allocations: 191.7 kB / 1.425 GB, free: 292 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7172/1.371, allocations: 4.192 MB / 1.429 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/1.373, allocations: 136 kB / 1.429 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/1.373, allocations: 47.88 kB / 1.429 GB, free: 176.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * 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%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004633/1.374, allocations: 266.4 kB / 1.429 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/1.374, allocations: 80.5 kB / 1.43 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/1.374, allocations: 81.86 kB / 1.43 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/1.374, allocations: 3.531 kB / 1.43 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/1.374, allocations: 6.469 kB / 1.43 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.374, allocations: 3.031 kB / 1.43 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008084/1.375, allocations: 0.7125 MB / 1.43 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/1.375, allocations: 2.344 kB / 1.43 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/1.375, allocations: 64.14 kB / 1.43 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003025/1.375, allocations: 99.44 kB / 1.431 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/1.376, allocations: 14.33 kB / 1.431 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/1.378, allocations: 4.168 MB / 1.435 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.378, allocations: 0 / 1.435 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/1.379, allocations: 0.7417 MB / 1.435 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/1.38, allocations: 217.7 kB / 1.436 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.009e-05/1.38, allocations: 11.05 kB / 1.436 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000651/1.38, allocations: 45.8 kB / 1.436 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.381, allocations: 21.58 kB / 1.436 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/1.381, allocations: 10.38 kB / 1.436 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009688/1.382, allocations: 0.613 MB / 1.436 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.11e-07/1.382, allocations: 2.594 kB / 1.436 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00123/1.383, allocations: 286.9 kB / 1.436 GB, free: 172.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * 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%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001568/1.384, allocations: 1.346 MB / 1.438 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001628/1.386, allocations: 0.9216 MB / 1.439 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.386, allocations: 3.375 kB / 1.439 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006321/1.387, allocations: 0.5188 MB / 1.439 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008623/1.388, allocations: 168.2 kB / 1.439 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00623/1.394, allocations: 12.22 MB / 1.451 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/1.395, allocations: 1.006 MB / 1.452 GB, free: 159 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007081/1.395, allocations: 148.6 kB / 1.452 GB, free: 159 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/1.396, allocations: 281.9 kB / 1.453 GB, free: 159 MB / 0.9167 GB Notification: Performance of SimCode: time 2.124e-06/1.396, allocations: 1.281 kB / 1.453 GB, free: 159 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04684/1.443, allocations: 17.51 MB / 1.47 GB, free: 158.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.443, allocations: 213.1 kB / 1.47 GB, free: 157.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/4.151, allocations: 0 / 1.47 GB, free: 157.9 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat does not exist to compare? outputFormat=mat