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.122/2.122, allocations: 390.5 MB / 398 MB, free: 10.91 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.001008/0.001008, allocations: 180.8 kB / 491.2 MB, free: 1.535 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.417/1.417, allocations: 221.5 MB / 0.7868 GB, free: 13.18 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.000902/0.000902, allocations: 91.89 kB / 0.9269 GB, free: 13.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.048e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2766, allocations: 143 MB / 1.212 GB, free: 39.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.382, allocations: 374.2 MB / 1.578 GB, free: 7.262 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/1.382, allocations: 87.52 kB / 1.578 GB, free: 7.215 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03671/1.419, allocations: 9.516 MB / 1.587 GB, free: 15.57 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.683e-06/1.419, allocations: 0 / 1.587 GB, free: 15.57 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.451e-05/1.419, allocations: 8 kB / 1.587 GB, free: 15.56 MB / 1.01 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.0008818/1.42, allocations: 458.2 kB / 1.588 GB, free: 15.07 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.42, allocations: 12.03 kB / 1.588 GB, free: 15.06 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.931e-05/1.42, allocations: 22.89 kB / 1.588 GB, free: 15.04 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/1.421, allocations: 236.9 kB / 1.588 GB, free: 14.78 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/1.421, allocations: 0 / 1.588 GB, free: 14.78 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/1.421, allocations: 4 kB / 1.588 GB, free: 14.77 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002066/1.421, allocations: 65.17 kB / 1.588 GB, free: 14.73 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/1.421, allocations: 116.1 kB / 1.588 GB, free: 14.63 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.421, allocations: 0 / 1.588 GB, free: 14.63 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/1.421, allocations: 3.953 kB / 1.588 GB, free: 14.63 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.241e-05/1.422, allocations: 19.86 kB / 1.588 GB, free: 14.61 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009337/1.422, allocations: 409.8 kB / 1.589 GB, free: 14.23 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/1.423, allocations: 133.2 kB / 1.589 GB, free: 14.12 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/1.423, allocations: 77.52 kB / 1.589 GB, free: 14.07 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/1.423, allocations: 3.984 kB / 1.589 GB, free: 14.07 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.423, allocations: 38.52 kB / 1.589 GB, free: 14.02 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.973e-06/1.423, allocations: 0 / 1.589 GB, free: 14.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.000804/1.424, allocations: 181.3 kB / 1.589 GB, free: 13.87 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/1.424, allocations: 59.41 kB / 1.589 GB, free: 13.8 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/1.424, allocations: 173.1 kB / 1.589 GB, free: 13.64 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/1.424, allocations: 25.7 kB / 1.589 GB, free: 13.61 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/1.424, allocations: 125.7 kB / 1.589 GB, free: 13.51 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/1.424, allocations: 35.19 kB / 1.589 GB, free: 13.48 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/1.424, allocations: 0 / 1.589 GB, free: 13.48 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.425, allocations: 333.8 kB / 1.59 GB, free: 13.16 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/1.425, allocations: 41.23 kB / 1.59 GB, free: 13.13 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/1.425, allocations: 47.34 kB / 1.59 GB, free: 13.1 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/1.425, allocations: 85.42 kB / 1.59 GB, free: 13.03 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/1.425, allocations: 0 / 1.59 GB, free: 13.03 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006781/1.426, allocations: 182 kB / 1.59 GB, free: 12.88 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/1.426, allocations: 4 kB / 1.59 GB, free: 12.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/1.426, allocations: 0 / 1.59 GB, free: 12.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.426, allocations: 3.953 kB / 1.59 GB, free: 12.87 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/1.426, allocations: 47.47 kB / 1.59 GB, free: 12.83 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.426, allocations: 3.984 kB / 1.59 GB, free: 12.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/1.427, allocations: 23.83 kB / 1.59 GB, free: 12.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/1.427, allocations: 4 kB / 1.59 GB, free: 12.8 MB / 1.01 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 0.000101/1.427, allocations: 101 kB / 1.59 GB, free: 12.69 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006922/1.428, allocations: 191.2 kB / 1.59 GB, free: 12.53 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/1.428, allocations: 27.66 kB / 1.59 GB, free: 12.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.033e-05/1.428, allocations: 20.97 kB / 1.59 GB, free: 12.49 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.428, allocations: 4 kB / 1.59 GB, free: 12.49 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.428, allocations: 0 / 1.59 GB, free: 12.49 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.428, allocations: 3.984 kB / 1.59 GB, free: 12.48 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/1.428, allocations: 224.5 kB / 1.591 GB, free: 12.26 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.428, allocations: 0 / 1.591 GB, free: 12.26 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/1.429, allocations: 39.97 kB / 1.591 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/1.429, allocations: 0 / 1.591 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/1.429, allocations: 0 / 1.591 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-06/1.429, allocations: 11.88 kB / 1.591 GB, free: 12.21 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.429, allocations: 0.5469 kB / 1.591 GB, free: 12.21 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/1.429, allocations: 282.4 kB / 1.591 GB, free: 11.95 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/1.43, allocations: 111.2 kB / 1.591 GB, free: 11.83 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/1.43, allocations: 8 kB / 1.591 GB, free: 11.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/1.43, allocations: 11.98 kB / 1.591 GB, free: 11.81 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/1.43, allocations: 15.12 kB / 1.591 GB, free: 11.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/1.43, allocations: 11.98 kB / 1.591 GB, free: 11.79 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001606/1.43, allocations: 139.6 kB / 1.591 GB, free: 11.67 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.21e-07/1.43, allocations: 0 / 1.591 GB, free: 11.67 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005045/1.431, allocations: 39.12 kB / 1.591 GB, free: 11.64 MB / 1.01 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.001267/1.432, allocations: 0.8699 MB / 1.592 GB, free: 10.78 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003348/1.432, allocations: 114.8 kB / 1.592 GB, free: 10.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.432, allocations: 0 / 1.592 GB, free: 10.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/1.433, allocations: 64.53 kB / 1.592 GB, free: 10.65 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/1.433, allocations: 30.97 kB / 1.592 GB, free: 10.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/1.434, allocations: 277 kB / 1.593 GB, free: 10.34 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/1.434, allocations: 0.7351 MB / 1.593 GB, free: 9.586 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003/1.435, allocations: 52.5 kB / 1.593 GB, free: 9.535 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/1.435, allocations: 42.73 kB / 1.593 GB, free: 9.52 MB / 1.01 GB Notification: Performance of SimCode: time 3.91e-07/1.435, allocations: 4 kB / 1.593 GB, free: 9.516 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/1.462, allocations: 3.42 MB / 1.597 GB, free: 6.125 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/1.462, allocations: 164.2 kB / 1.597 GB, free: 5.934 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/3.091, allocations: 0 / 1.597 GB, free: 5.934 MB / 1.01 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