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.166/2.166, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001198/0.001198, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.0009822/0.0009821, allocations: 91.95 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.449e-05/3.451e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2479, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.131/1.379, allocations: 374.9 MB / 1.585 GB, free: 10.86 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/1.38, allocations: 82.77 kB / 1.585 GB, free: 10.81 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03311/1.413, allocations: 9.601 MB / 1.594 GB, free: 1.84 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.374e-06/1.413, allocations: 0 / 1.594 GB, free: 1.84 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.356e-05/1.413, allocations: 5.969 kB / 1.594 GB, free: 1.836 MB / 1.042 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.0009326/1.414, allocations: 468 kB / 1.595 GB, free: 1.336 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.905e-05/1.414, allocations: 12.03 kB / 1.595 GB, free: 1.324 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.034e-05/1.414, allocations: 38.52 kB / 1.595 GB, free: 1.277 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/1.414, allocations: 19.72 kB / 1.595 GB, free: 1.258 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/1.415, allocations: 233.8 kB / 1.595 GB, free: 0.9883 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/1.415, allocations: 8 kB / 1.595 GB, free: 0.9805 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/1.415, allocations: 7.984 kB / 1.595 GB, free: 0.9727 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/1.415, allocations: 118.8 kB / 1.595 GB, free: 0.8516 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.415, allocations: 0 / 1.595 GB, free: 0.8516 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/1.415, allocations: 0 / 1.595 GB, free: 0.8516 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/1.415, allocations: 15.95 kB / 1.595 GB, free: 0.8359 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/1.415, allocations: 83.95 kB / 1.595 GB, free: 0.7539 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009253/1.416, allocations: 448.5 kB / 1.596 GB, free: 272 kB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/1.417, allocations: 138.5 kB / 1.596 GB, free: 124 kB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/1.417, allocations: 80.78 kB / 1.596 GB, free: 40 kB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/1.417, allocations: 4 kB / 1.596 GB, free: 36 kB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.912e-05/1.417, allocations: 42.59 kB / 1.596 GB, free: 15.98 MB / 1.057 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/1.417, allocations: 0 / 1.596 GB, free: 15.98 MB / 1.057 GB Notification: Performance of matching and sorting (n=13): time 0.0004341/1.417, allocations: 150.4 kB / 1.596 GB, free: 15.83 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/1.417, allocations: 59.34 kB / 1.596 GB, free: 15.76 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/1.418, allocations: 180.9 kB / 1.596 GB, free: 15.58 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/1.418, allocations: 29.64 kB / 1.596 GB, free: 15.54 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/1.418, allocations: 128 kB / 1.597 GB, free: 15.41 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/1.418, allocations: 43.36 kB / 1.597 GB, free: 15.37 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/1.418, allocations: 4 kB / 1.597 GB, free: 15.37 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.418, allocations: 326.8 kB / 1.597 GB, free: 15.04 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/1.418, allocations: 47.97 kB / 1.597 GB, free: 14.99 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/1.418, allocations: 51.86 kB / 1.597 GB, free: 14.95 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/1.418, allocations: 56.22 kB / 1.597 GB, free: 14.89 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.418, allocations: 0 / 1.597 GB, free: 14.89 MB / 1.057 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003043/1.419, allocations: 149.5 kB / 1.597 GB, free: 14.74 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.419, allocations: 7.953 kB / 1.597 GB, free: 14.73 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.419, allocations: 4 kB / 1.597 GB, free: 14.73 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/1.419, allocations: 0 / 1.597 GB, free: 14.73 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/1.419, allocations: 47.89 kB / 1.597 GB, free: 14.68 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.419, allocations: 0 / 1.597 GB, free: 14.68 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/1.419, allocations: 23.83 kB / 1.597 GB, free: 14.66 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/1.419, allocations: 4 kB / 1.597 GB, free: 14.65 MB / 1.057 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 () * 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 9.529e-05/1.419, allocations: 113 kB / 1.597 GB, free: 14.54 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/1.42, allocations: 23.73 kB / 1.597 GB, free: 14.51 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.559e-05/1.42, allocations: 25.92 kB / 1.597 GB, free: 14.48 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/1.42, allocations: 0 / 1.597 GB, free: 14.48 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.42, allocations: 4 kB / 1.597 GB, free: 14.48 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.42, allocations: 3.984 kB / 1.597 GB, free: 14.48 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/1.42, allocations: 253.5 kB / 1.598 GB, free: 14.18 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.42, allocations: 0 / 1.598 GB, free: 14.18 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/1.42, allocations: 51.89 kB / 1.598 GB, free: 14.13 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.42, allocations: 0 / 1.598 GB, free: 14.13 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/1.42, allocations: 4 kB / 1.598 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/1.42, allocations: 7.953 kB / 1.598 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/1.42, allocations: 0 / 1.598 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/1.421, allocations: 259.7 kB / 1.598 GB, free: 13.85 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/1.421, allocations: 108.8 kB / 1.598 GB, free: 13.72 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/1.421, allocations: 8 kB / 1.598 GB, free: 13.71 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/1.421, allocations: 19.97 kB / 1.598 GB, free: 13.7 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/1.421, allocations: 11.94 kB / 1.598 GB, free: 13.68 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/1.421, allocations: 8 kB / 1.598 GB, free: 13.68 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001966/1.422, allocations: 157.3 kB / 1.598 GB, free: 13.52 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.41e-07/1.422, allocations: 0 / 1.598 GB, free: 13.52 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003842/1.422, allocations: 36 kB / 1.598 GB, free: 13.49 MB / 1.057 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 () * 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.0008771/1.423, allocations: 0.8374 MB / 1.599 GB, free: 12.63 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0003121/1.423, allocations: 127.9 kB / 1.599 GB, free: 12.5 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.423, allocations: 0 / 1.599 GB, free: 12.5 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/1.423, allocations: 67.91 kB / 1.599 GB, free: 12.44 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/1.424, allocations: 25.55 kB / 1.599 GB, free: 12.41 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/1.424, allocations: 287.3 kB / 1.6 GB, free: 12.09 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/1.425, allocations: 0.7395 MB / 1.6 GB, free: 11.32 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001678/1.425, allocations: 48.5 kB / 1.6 GB, free: 11.28 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.134e-05/1.425, allocations: 51.41 kB / 1.6 GB, free: 11.23 MB / 1.057 GB Notification: Performance of SimCode: time 3.1e-07/1.425, allocations: 0 / 1.6 GB, free: 11.23 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/1.442, allocations: 4.461 MB / 1.605 GB, free: 6.953 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/1.442, allocations: 173.4 kB / 1.605 GB, free: 6.73 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/3.11, allocations: 1.875 kB / 1.605 GB, free: 6.73 MB / 1.057 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