Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.6/2.6, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001304/0.001304, allocations: 180 kB / 0.4901 GB, free: 2.25 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.561/1.561, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.001005/0.001005, allocations: 100.2 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 6.906 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3128, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.433, allocations: 374.9 MB / 1.595 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/1.433, allocations: 87.27 kB / 1.595 GB, free: 5.418 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02195/1.455, allocations: 9.648 MB / 1.605 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.705e-06/1.455, allocations: 0 / 1.605 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.368e-05/1.455, allocations: 0 / 1.605 GB, free: 13.52 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007744/1.456, allocations: 0.4919 MB / 1.605 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.456, allocations: 8.562 kB / 1.605 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.241e-05/1.456, allocations: 45.81 kB / 1.605 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/1.456, allocations: 19.72 kB / 1.605 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/1.456, allocations: 232.3 kB / 1.606 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/1.456, allocations: 7.797 kB / 1.606 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/1.456, allocations: 4 kB / 1.606 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/1.457, allocations: 146.9 kB / 1.606 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.457, allocations: 0 / 1.606 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/1.457, allocations: 3.875 kB / 1.606 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/1.457, allocations: 11.95 kB / 1.606 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004688/1.457, allocations: 153.4 kB / 1.606 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007751/1.458, allocations: 451 kB / 1.606 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/1.459, allocations: 174.3 kB / 1.607 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/1.459, allocations: 7.828 kB / 1.607 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/1.459, allocations: 30.56 kB / 1.607 GB, free: 11.76 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/1.459, allocations: 3.938 kB / 1.607 GB, free: 11.76 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.0008143/1.459, allocations: 308.6 kB / 1.607 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/1.459, allocations: 55.34 kB / 1.607 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/1.46, allocations: 186 kB / 1.607 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/1.46, allocations: 29.33 kB / 1.607 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/1.46, allocations: 117.2 kB / 1.607 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/1.46, allocations: 50.48 kB / 1.607 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-06/1.46, allocations: 4 kB / 1.607 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.46, allocations: 326.1 kB / 1.608 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/1.46, allocations: 74.38 kB / 1.608 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/1.46, allocations: 89.73 kB / 1.608 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/1.461, allocations: 82.2 kB / 1.608 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.461, allocations: 4 kB / 1.608 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000522/1.461, allocations: 221.2 kB / 1.608 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.461, allocations: 7.953 kB / 1.608 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.461, allocations: 0 / 1.608 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.461, allocations: 0 / 1.608 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/1.462, allocations: 43.89 kB / 1.608 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.462, allocations: 0 / 1.608 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/1.462, allocations: 27.52 kB / 1.608 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/1.462, allocations: 7.938 kB / 1.608 GB, free: 10.31 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.462, allocations: 125.3 kB / 1.608 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/1.462, allocations: 19.8 kB / 1.608 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.104e-05/1.462, allocations: 36.22 kB / 1.608 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.462, allocations: 0 / 1.608 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.462, allocations: 0 / 1.608 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/1.462, allocations: 0 / 1.608 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/1.462, allocations: 266.5 kB / 1.609 GB, free: 9.867 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.462, allocations: 3.984 kB / 1.609 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/1.463, allocations: 39.91 kB / 1.609 GB, free: 9.824 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.463, allocations: 0 / 1.609 GB, free: 9.824 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/1.463, allocations: 0 / 1.609 GB, free: 9.824 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.463, allocations: 3.953 kB / 1.609 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.463, allocations: 4 kB / 1.609 GB, free: 9.816 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/1.463, allocations: 323.4 kB / 1.609 GB, free: 9.523 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/1.463, allocations: 108.6 kB / 1.609 GB, free: 9.402 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/1.463, allocations: 7.688 kB / 1.609 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/1.463, allocations: 15.98 kB / 1.609 GB, free: 9.383 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/1.464, allocations: 19.73 kB / 1.609 GB, free: 9.367 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/1.464, allocations: 4 kB / 1.609 GB, free: 9.363 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000124/1.464, allocations: 151 kB / 1.609 GB, free: 9.234 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.31e-07/1.464, allocations: 4 kB / 1.609 GB, free: 9.23 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003049/1.464, allocations: 51.33 kB / 1.609 GB, free: 9.188 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/1.465, allocations: 0.899 MB / 1.61 GB, free: 8.301 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004935/1.466, allocations: 190.9 kB / 1.61 GB, free: 8.148 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.466, allocations: 0 / 1.61 GB, free: 8.148 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/1.466, allocations: 101.4 kB / 1.61 GB, free: 8.066 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/1.466, allocations: 27.61 kB / 1.611 GB, free: 8.043 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/1.468, allocations: 1.252 MB / 1.612 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/1.469, allocations: 0.7316 MB / 1.612 GB, free: 6.129 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001814/1.469, allocations: 56.58 kB / 1.613 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.146e-05/1.469, allocations: 48.73 kB / 1.613 GB, free: 6.055 MB / 0.9323 GB Notification: Performance of SimCode: time 4.91e-07/1.469, allocations: 0 / 1.613 GB, free: 6.055 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/1.486, allocations: 4.265 MB / 1.617 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.486, allocations: 202.8 kB / 1.617 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/3.491, allocations: 0 / 1.617 GB, free: 1.742 MB / 0.9323 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat does not exist to compare? outputFormat=mat