Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.151/2.151, allocations: 390.5 MB / 398 MB, free: 10.96 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.0009788/0.0009789, allocations: 180.1 kB / 491.2 MB, free: 1.59 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.379/1.379, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.00097/0.0009701, allocations: 99.88 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.232e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2413, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.291, allocations: 374.3 MB / 1.578 GB, free: 7.539 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.292, allocations: 86.44 kB / 1.578 GB, free: 7.492 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02455/1.316, allocations: 9.645 MB / 1.587 GB, free: 15.72 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.293e-06/1.316, allocations: 0 / 1.587 GB, free: 15.72 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.094e-05/1.316, allocations: 4 kB / 1.587 GB, free: 15.72 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.0006552/1.317, allocations: 468.8 kB / 1.588 GB, free: 15.23 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.317, allocations: 8.031 kB / 1.588 GB, free: 15.22 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/1.317, allocations: 23.75 kB / 1.588 GB, free: 15.2 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/1.318, allocations: 241.4 kB / 1.588 GB, free: 14.93 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/1.318, allocations: 0 / 1.588 GB, free: 14.93 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/1.318, allocations: 4 kB / 1.588 GB, free: 14.93 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00015/1.318, allocations: 73.03 kB / 1.588 GB, free: 14.88 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/1.318, allocations: 114.8 kB / 1.588 GB, free: 14.78 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/1.318, allocations: 0 / 1.588 GB, free: 14.78 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/1.318, allocations: 3.953 kB / 1.588 GB, free: 14.78 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/1.318, allocations: 11.98 kB / 1.588 GB, free: 14.77 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/1.319, allocations: 432.7 kB / 1.589 GB, free: 14.36 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/1.319, allocations: 128 kB / 1.589 GB, free: 14.27 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/1.319, allocations: 76.16 kB / 1.589 GB, free: 14.21 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/1.319, allocations: 7.984 kB / 1.589 GB, free: 14.21 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/1.319, allocations: 41.83 kB / 1.589 GB, free: 14.16 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/1.319, allocations: 0 / 1.589 GB, free: 14.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0005433/1.32, allocations: 193 kB / 1.589 GB, free: 14 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/1.32, allocations: 51.41 kB / 1.589 GB, free: 13.94 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/1.32, allocations: 180.6 kB / 1.589 GB, free: 13.78 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/1.32, allocations: 25.7 kB / 1.589 GB, free: 13.75 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/1.32, allocations: 122.5 kB / 1.59 GB, free: 13.65 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/1.32, allocations: 42.23 kB / 1.59 GB, free: 13.61 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-06/1.32, allocations: 0 / 1.59 GB, free: 13.61 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.32, allocations: 329.8 kB / 1.59 GB, free: 13.29 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.714e-05/1.32, allocations: 49.28 kB / 1.59 GB, free: 13.26 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/1.32, allocations: 50.48 kB / 1.59 GB, free: 13.22 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/1.321, allocations: 84.36 kB / 1.59 GB, free: 13.16 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.321, allocations: 0 / 1.59 GB, free: 13.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004113/1.321, allocations: 193.2 kB / 1.59 GB, free: 13 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/1.321, allocations: 4 kB / 1.59 GB, free: 13 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.321, allocations: 0 / 1.59 GB, free: 13 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.321, allocations: 7.953 kB / 1.59 GB, free: 12.99 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/1.321, allocations: 35.97 kB / 1.59 GB, free: 12.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.321, allocations: 0 / 1.59 GB, free: 12.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/1.322, allocations: 31.81 kB / 1.59 GB, free: 12.92 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/1.322, allocations: 0 / 1.59 GB, free: 12.92 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 9.188e-05/1.322, allocations: 108.9 kB / 1.59 GB, free: 12.81 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004247/1.322, allocations: 201.2 kB / 1.591 GB, free: 12.64 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/1.322, allocations: 27.61 kB / 1.591 GB, free: 12.61 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/1.322, allocations: 27.72 kB / 1.591 GB, free: 12.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/1.322, allocations: 4 kB / 1.591 GB, free: 12.6 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.322, allocations: 0 / 1.591 GB, free: 12.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.322, allocations: 3.984 kB / 1.591 GB, free: 12.59 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/1.323, allocations: 229.7 kB / 1.591 GB, free: 12.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.323, allocations: 0 / 1.591 GB, free: 12.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/1.323, allocations: 39.72 kB / 1.591 GB, free: 12.32 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/1.323, allocations: 0 / 1.591 GB, free: 12.32 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/1.323, allocations: 7.938 kB / 1.591 GB, free: 12.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/1.323, allocations: 3.953 kB / 1.591 GB, free: 12.31 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.323, allocations: 4 kB / 1.591 GB, free: 12.31 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/1.323, allocations: 290.7 kB / 1.591 GB, free: 12.05 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/1.323, allocations: 112.8 kB / 1.591 GB, free: 11.92 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/1.323, allocations: 0 / 1.591 GB, free: 11.92 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/1.324, allocations: 19.98 kB / 1.591 GB, free: 11.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/1.324, allocations: 15.75 kB / 1.591 GB, free: 11.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/1.324, allocations: 3.984 kB / 1.591 GB, free: 11.89 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000109/1.324, allocations: 149.6 kB / 1.592 GB, free: 11.77 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.2e-07/1.324, allocations: 0 / 1.592 GB, free: 11.77 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002602/1.324, allocations: 32 kB / 1.592 GB, free: 11.73 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.000863/1.325, allocations: 0.8744 MB / 1.592 GB, free: 10.88 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002184/1.325, allocations: 113.8 kB / 1.593 GB, free: 10.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.325, allocations: 3.938 kB / 1.593 GB, free: 10.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/1.325, allocations: 72.66 kB / 1.593 GB, free: 10.75 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/1.326, allocations: 23.81 kB / 1.593 GB, free: 10.73 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/1.326, allocations: 293.8 kB / 1.593 GB, free: 10.43 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/1.327, allocations: 0.7314 MB / 1.594 GB, free: 9.676 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001777/1.327, allocations: 60.62 kB / 1.594 GB, free: 9.617 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.204e-05/1.327, allocations: 54.59 kB / 1.594 GB, free: 9.594 MB / 1.01 GB Notification: Performance of SimCode: time 2.5e-07/1.327, allocations: 0 / 1.594 GB, free: 9.594 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/1.35, allocations: 3.532 MB / 1.597 GB, free: 6.09 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.35, allocations: 169.7 kB / 1.597 GB, free: 5.895 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/3.026, allocations: 0 / 1.597 GB, free: 5.895 MB / 1.01 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat does not exist to compare? outputFormat=mat