Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001213/0.001213, allocations: 187.4 kB / 498.1 MB, free: 5.75 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.448/1.448, allocations: 223.1 MB / 0.7948 GB, free: 17.93 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.0009241/0.0009239, allocations: 101 kB / 0.9346 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 11.3 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2377, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9694/1.207, allocations: 374.9 MB / 1.589 GB, free: 20.32 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.207, allocations: 90.41 kB / 1.589 GB, free: 20.27 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02471/1.232, allocations: 11.08 MB / 1.6 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.185e-06/1.232, allocations: 0 / 1.6 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.325e-05/1.232, allocations: 4 kB / 1.6 GB, free: 11.11 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009697/1.233, allocations: 0.6104 MB / 1.601 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.233, allocations: 8.031 kB / 1.601 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/1.233, allocations: 38.19 kB / 1.601 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/1.233, allocations: 27.7 kB / 1.601 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/1.234, allocations: 277.3 kB / 1.601 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/1.234, allocations: 7.562 kB / 1.601 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/1.234, allocations: 7.938 kB / 1.601 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/1.234, allocations: 191.9 kB / 1.601 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/1.234, allocations: 0 / 1.601 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/1.234, allocations: 3.188 kB / 1.601 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/1.234, allocations: 11.94 kB / 1.601 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/1.235, allocations: 232.2 kB / 1.601 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007662/1.236, allocations: 498 kB / 1.602 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/1.236, allocations: 147.9 kB / 1.602 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000523/1.237, allocations: 0.5176 MB / 1.602 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/1.237, allocations: 38.56 kB / 1.603 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/1.237, allocations: 0 / 1.603 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.001089/1.238, allocations: 418.7 kB / 1.603 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/1.238, allocations: 51.41 kB / 1.603 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/1.238, allocations: 206.6 kB / 1.603 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/1.238, allocations: 25.7 kB / 1.603 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/1.238, allocations: 143.1 kB / 1.603 GB, free: 7.691 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/1.238, allocations: 35.2 kB / 1.603 GB, free: 7.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/1.238, allocations: 8 kB / 1.603 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.299e-05/1.238, allocations: 333.4 kB / 1.604 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/1.239, allocations: 114.5 kB / 1.604 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/1.239, allocations: 120.8 kB / 1.604 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/1.239, allocations: 113.9 kB / 1.604 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.239, allocations: 0 / 1.604 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006761/1.24, allocations: 307.3 kB / 1.604 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.24, allocations: 4 kB / 1.604 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.24, allocations: 0 / 1.604 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.24, allocations: 4 kB / 1.604 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/1.24, allocations: 55.94 kB / 1.604 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.24, allocations: 0 / 1.604 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/1.241, allocations: 43.91 kB / 1.604 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/1.241, allocations: 7.484 kB / 1.604 GB, free: 6.664 MB / 0.9167 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 (11): * Single equations (assignments): 11 * 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.224e-05/1.241, allocations: 124.6 kB / 1.605 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/1.241, allocations: 27.67 kB / 1.605 GB, free: 6.512 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007955/1.242, allocations: 320.7 kB / 1.605 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.242, allocations: 8 kB / 1.605 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.242, allocations: 0 / 1.605 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.242, allocations: 0 / 1.605 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/1.242, allocations: 277.4 kB / 1.605 GB, free: 5.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.242, allocations: 0 / 1.605 GB, free: 5.957 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/1.242, allocations: 55.89 kB / 1.605 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/1.242, allocations: 4 kB / 1.605 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/1.242, allocations: 11.88 kB / 1.605 GB, free: 5.891 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/1.242, allocations: 7.938 kB / 1.605 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/1.242, allocations: 0 / 1.605 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007087/1.243, allocations: 389.5 kB / 1.606 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.214e-05/1.243, allocations: 115.6 kB / 1.606 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/1.243, allocations: 4 kB / 1.606 GB, free: 5.398 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/1.243, allocations: 47.47 kB / 1.606 GB, free: 5.355 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/1.243, allocations: 11.92 kB / 1.606 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/1.243, allocations: 7.984 kB / 1.606 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001016/1.243, allocations: 167 kB / 1.606 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.243, allocations: 0 / 1.606 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003175/1.244, allocations: 75.05 kB / 1.606 GB, free: 5.133 MB / 0.9167 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 (11): * Single equations (assignments): 11 * 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.00106/1.245, allocations: 1.011 MB / 1.607 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006802/1.246, allocations: 261.5 kB / 1.607 GB, free: 3.926 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.246, allocations: 4 kB / 1.607 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000319/1.246, allocations: 137.7 kB / 1.607 GB, free: 3.809 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/1.246, allocations: 29 kB / 1.607 GB, free: 3.789 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/1.248, allocations: 1.48 MB / 1.609 GB, free: 2.438 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/1.249, allocations: 0.7394 MB / 1.61 GB, free: 1.672 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001663/1.249, allocations: 32.84 kB / 1.61 GB, free: 1.637 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/1.249, allocations: 71.77 kB / 1.61 GB, free: 1.609 MB / 0.9167 GB Notification: Performance of SimCode: time 2.5e-07/1.249, allocations: 0 / 1.61 GB, free: 1.609 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/1.265, allocations: 5.243 MB / 1.615 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/1.265, allocations: 204.7 kB / 1.615 GB, free: 12.33 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/3.142, allocations: 0 / 1.615 GB, free: 12.33 MB / 0.9323 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat does not exist to compare? outputFormat=mat