Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.432/2.432, allocations: 393.5 MB / 408.4 MB, free: 11 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.001378/0.001378, allocations: 172 kB / 0.4901 GB, free: 2.23 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.563/1.563, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001035/0.001034, allocations: 104.5 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003757, allocations: 14.25 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3227, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.387, allocations: 376.2 MB / 1.597 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/1.387, allocations: 88.39 kB / 1.597 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03012/1.417, allocations: 11.88 MB / 1.608 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.733e-06/1.417, allocations: 3.938 kB / 1.608 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.77e-05/1.417, allocations: 7.984 kB / 1.608 GB, free: 10.32 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001277/1.419, allocations: 0.6538 MB / 1.609 GB, free: 9.633 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.419, allocations: 12.03 kB / 1.609 GB, free: 9.621 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.29e-05/1.419, allocations: 41.86 kB / 1.609 GB, free: 9.578 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007196/1.419, allocations: 135.5 kB / 1.609 GB, free: 9.445 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/1.42, allocations: 329.5 kB / 1.609 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/1.42, allocations: 11.38 kB / 1.609 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/1.42, allocations: 11.5 kB / 1.609 GB, free: 9.082 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006697/1.421, allocations: 252.6 kB / 1.61 GB, free: 8.871 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.421, allocations: 7.984 kB / 1.61 GB, free: 8.863 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/1.421, allocations: 7.141 kB / 1.61 GB, free: 8.859 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.421, allocations: 0 / 1.61 GB, free: 8.859 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/1.422, allocations: 338.9 kB / 1.61 GB, free: 8.582 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/1.424, allocations: 0.5999 MB / 1.611 GB, free: 8.023 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/1.424, allocations: 197.9 kB / 1.611 GB, free: 7.855 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007312/1.425, allocations: 0.51 MB / 1.611 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/1.425, allocations: 42.55 kB / 1.611 GB, free: 7.188 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/1.425, allocations: 3.938 kB / 1.611 GB, free: 7.184 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.001715/1.427, allocations: 0.5621 MB / 1.612 GB, free: 6.707 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/1.427, allocations: 55.41 kB / 1.612 GB, free: 6.641 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/1.427, allocations: 231.2 kB / 1.612 GB, free: 6.438 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/1.427, allocations: 33.58 kB / 1.612 GB, free: 6.402 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/1.427, allocations: 150.8 kB / 1.612 GB, free: 6.289 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/1.427, allocations: 42.77 kB / 1.612 GB, free: 6.254 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/1.427, allocations: 7.188 kB / 1.612 GB, free: 6.25 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.427, allocations: 341.5 kB / 1.613 GB, free: 5.918 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/1.428, allocations: 171.4 kB / 1.613 GB, free: 5.781 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/1.428, allocations: 183 kB / 1.613 GB, free: 5.633 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/1.429, allocations: 173.7 kB / 1.613 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.429, allocations: 0 / 1.613 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001125/1.43, allocations: 430.1 kB / 1.614 GB, free: 5.141 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.43, allocations: 8 kB / 1.614 GB, free: 5.133 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.43, allocations: 0 / 1.614 GB, free: 5.133 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/1.43, allocations: 4 kB / 1.614 GB, free: 5.129 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/1.431, allocations: 83.23 kB / 1.614 GB, free: 5.051 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/1.431, allocations: 3.984 kB / 1.614 GB, free: 5.047 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/1.431, allocations: 55.86 kB / 1.614 GB, free: 4.992 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/1.431, allocations: 15.47 kB / 1.614 GB, free: 4.98 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 (17): * Single equations (assignments): 17 * 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.0001786/1.431, allocations: 133.3 kB / 1.614 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/1.431, allocations: 23.72 kB / 1.614 GB, free: 4.828 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/1.433, allocations: 432.1 kB / 1.614 GB, free: 4.477 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/1.433, allocations: 3.984 kB / 1.614 GB, free: 4.473 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.433, allocations: 4 kB / 1.614 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.433, allocations: 0 / 1.614 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/1.433, allocations: 315 kB / 1.615 GB, free: 4.156 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/1.433, allocations: 3.938 kB / 1.615 GB, free: 4.152 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/1.434, allocations: 75.92 kB / 1.615 GB, free: 4.078 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.434, allocations: 0 / 1.615 GB, free: 4.078 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/1.434, allocations: 11.48 kB / 1.615 GB, free: 4.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.434, allocations: 0 / 1.615 GB, free: 4.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.434, allocations: 0 / 1.615 GB, free: 4.07 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/1.435, allocations: 0.4897 MB / 1.615 GB, free: 3.629 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/1.435, allocations: 119.9 kB / 1.615 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/1.435, allocations: 7.125 kB / 1.615 GB, free: 3.496 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/1.435, allocations: 51.94 kB / 1.615 GB, free: 3.445 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/1.435, allocations: 15.36 kB / 1.615 GB, free: 3.434 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/1.436, allocations: 11.61 kB / 1.615 GB, free: 3.426 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001645/1.436, allocations: 187.1 kB / 1.616 GB, free: 3.27 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/1.436, allocations: 0 / 1.616 GB, free: 3.27 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003983/1.436, allocations: 86.77 kB / 1.616 GB, free: 3.191 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.001693/1.438, allocations: 1.12 MB / 1.617 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001112/1.439, allocations: 380.9 kB / 1.617 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.439, allocations: 4 kB / 1.617 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005215/1.439, allocations: 192.2 kB / 1.617 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/1.44, allocations: 35.3 kB / 1.617 GB, free: 1.625 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/1.441, allocations: 0.8627 MB / 1.618 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/1.442, allocations: 0.7516 MB / 1.619 GB, free: 15.99 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002724/1.442, allocations: 49.38 kB / 1.619 GB, free: 15.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/1.442, allocations: 77.27 kB / 1.619 GB, free: 15.91 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/1.442, allocations: 0 / 1.619 GB, free: 15.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/1.462, allocations: 6.029 MB / 1.625 GB, free: 10.09 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/1.462, allocations: 199.8 kB / 1.625 GB, free: 9.852 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/3.462, allocations: 2.5 kB / 1.625 GB, free: 9.852 MB / 0.948 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat does not exist to compare? outputFormat=mat