Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.307/2.307, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001194/0.001194, allocations: 187.9 kB / 0.4902 GB, free: 2.266 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.384/1.384, allocations: 223.1 MB / 0.7992 GB, free: 15.63 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.0009156/0.0009156, allocations: 112.2 kB / 0.9396 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003925, allocations: 10.12 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3048, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.516, allocations: 375.5 MB / 1.596 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/1.516, allocations: 87.14 kB / 1.596 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.02983/1.546, allocations: 11.08 MB / 1.607 GB, free: 7.863 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.086e-06/1.546, allocations: 0 / 1.607 GB, free: 7.863 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.057e-05/1.546, allocations: 4 kB / 1.607 GB, free: 7.859 MB / 0.948 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.001305/1.548, allocations: 0.6112 MB / 1.607 GB, free: 7.215 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/1.548, allocations: 8.031 kB / 1.607 GB, free: 7.207 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.205e-05/1.548, allocations: 42.12 kB / 1.608 GB, free: 7.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/1.548, allocations: 19.72 kB / 1.608 GB, free: 7.141 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006755/1.549, allocations: 281.5 kB / 1.608 GB, free: 6.832 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/1.549, allocations: 11.73 kB / 1.608 GB, free: 6.824 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/1.549, allocations: 4 kB / 1.608 GB, free: 6.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005412/1.549, allocations: 195.3 kB / 1.608 GB, free: 6.652 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.549, allocations: 4 kB / 1.608 GB, free: 6.648 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/1.549, allocations: 3.875 kB / 1.608 GB, free: 6.648 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/1.549, allocations: 4 kB / 1.608 GB, free: 6.645 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007222/1.55, allocations: 231.2 kB / 1.608 GB, free: 6.449 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009719/1.551, allocations: 495.2 kB / 1.609 GB, free: 5.984 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/1.551, allocations: 146.8 kB / 1.609 GB, free: 5.855 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000772/1.552, allocations: 0.5177 MB / 1.609 GB, free: 5.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.552, allocations: 34.55 kB / 1.609 GB, free: 5.188 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/1.552, allocations: 7.938 kB / 1.609 GB, free: 5.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.001252/1.554, allocations: 416.2 kB / 1.61 GB, free: 4.824 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/1.554, allocations: 51.41 kB / 1.61 GB, free: 4.762 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/1.554, allocations: 201.4 kB / 1.61 GB, free: 4.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/1.554, allocations: 29.7 kB / 1.61 GB, free: 4.555 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/1.554, allocations: 145.8 kB / 1.61 GB, free: 4.445 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/1.554, allocations: 34.64 kB / 1.61 GB, free: 4.414 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/1.554, allocations: 3.5 kB / 1.61 GB, free: 4.414 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.554, allocations: 336.9 kB / 1.611 GB, free: 4.086 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/1.555, allocations: 109.6 kB / 1.611 GB, free: 3.996 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/1.555, allocations: 121.7 kB / 1.611 GB, free: 3.895 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/1.555, allocations: 117.3 kB / 1.611 GB, free: 3.797 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.555, allocations: 0 / 1.611 GB, free: 3.797 MB / 0.948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008272/1.556, allocations: 301.8 kB / 1.611 GB, free: 3.535 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.556, allocations: 4 kB / 1.611 GB, free: 3.531 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.556, allocations: 4 kB / 1.611 GB, free: 3.527 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.556, allocations: 0 / 1.611 GB, free: 3.527 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/1.556, allocations: 55.94 kB / 1.611 GB, free: 3.473 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.557, allocations: 0 / 1.611 GB, free: 3.473 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/1.557, allocations: 47.56 kB / 1.611 GB, free: 3.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/1.557, allocations: 8 kB / 1.611 GB, free: 3.422 MB / 0.948 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 0.0001362/1.557, allocations: 130.4 kB / 1.611 GB, free: 3.293 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/1.557, allocations: 27.67 kB / 1.611 GB, free: 3.266 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009074/1.558, allocations: 329 kB / 1.612 GB, free: 2.992 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.558, allocations: 4 kB / 1.612 GB, free: 2.988 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.558, allocations: 0 / 1.612 GB, free: 2.988 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.558, allocations: 0 / 1.612 GB, free: 2.988 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/1.558, allocations: 265.5 kB / 1.612 GB, free: 2.715 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.558, allocations: 0 / 1.612 GB, free: 2.715 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/1.559, allocations: 67.62 kB / 1.612 GB, free: 2.652 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/1.559, allocations: 0 / 1.612 GB, free: 2.652 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/1.559, allocations: 7.938 kB / 1.612 GB, free: 2.645 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.559, allocations: 0 / 1.612 GB, free: 2.645 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.559, allocations: 0 / 1.612 GB, free: 2.645 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008939/1.56, allocations: 400.6 kB / 1.612 GB, free: 2.277 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/1.56, allocations: 112.2 kB / 1.613 GB, free: 2.156 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/1.56, allocations: 7.5 kB / 1.613 GB, free: 2.152 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/1.56, allocations: 39.92 kB / 1.613 GB, free: 2.113 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/1.56, allocations: 15.41 kB / 1.613 GB, free: 2.102 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/1.56, allocations: 7.984 kB / 1.613 GB, free: 2.094 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001567/1.56, allocations: 174.5 kB / 1.613 GB, free: 1.945 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/1.56, allocations: 4 kB / 1.613 GB, free: 1.941 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003856/1.561, allocations: 71.19 kB / 1.613 GB, free: 1.875 MB / 0.948 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.001451/1.562, allocations: 1.008 MB / 1.614 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007927/1.563, allocations: 259.2 kB / 1.614 GB, free: 0.6758 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.563, allocations: 0 / 1.614 GB, free: 0.6758 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003772/1.563, allocations: 137.1 kB / 1.614 GB, free: 0.5625 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/1.564, allocations: 38.22 kB / 1.614 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/1.567, allocations: 1.478 MB / 1.616 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/1.567, allocations: 0.7433 MB / 1.616 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001958/1.567, allocations: 32.84 kB / 1.616 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/1.567, allocations: 68.7 kB / 1.617 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of SimCode: time 6.72e-07/1.567, allocations: 0 / 1.617 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/1.586, allocations: 5.243 MB / 1.622 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/1.586, allocations: 211.7 kB / 1.622 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.908, allocations: 5.875 kB / 1.622 GB, free: 9.059 MB / 0.9636 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat does not exist to compare? outputFormat=mat