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.11/2.11, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.0009572/0.0009572, allocations: 180.9 kB / 492.3 MB, free: 0.6328 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.395/1.395, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.001068/0.001068, allocations: 96.11 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.275e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2582, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9447/1.203, allocations: 374.9 MB / 1.579 GB, free: 6.648 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/1.203, allocations: 91.06 kB / 1.579 GB, free: 6.598 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02837/1.232, allocations: 11.01 MB / 1.589 GB, free: 13.5 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.593e-06/1.232, allocations: 0 / 1.589 GB, free: 13.5 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.964e-05/1.232, allocations: 4 kB / 1.589 GB, free: 13.5 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001044/1.233, allocations: 0.5689 MB / 1.59 GB, free: 12.9 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.233, allocations: 16.02 kB / 1.59 GB, free: 12.88 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/1.233, allocations: 38.06 kB / 1.59 GB, free: 12.84 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/1.233, allocations: 23.72 kB / 1.59 GB, free: 12.82 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/1.234, allocations: 279.1 kB / 1.59 GB, free: 12.52 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/1.234, allocations: 7.984 kB / 1.59 GB, free: 12.51 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/1.234, allocations: 7.938 kB / 1.59 GB, free: 12.51 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/1.234, allocations: 121.9 kB / 1.59 GB, free: 12.41 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/1.234, allocations: 0 / 1.59 GB, free: 12.41 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/1.234, allocations: 7.547 kB / 1.59 GB, free: 12.41 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/1.234, allocations: 8 kB / 1.59 GB, free: 12.4 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/1.234, allocations: 94.86 kB / 1.591 GB, free: 12.34 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008974/1.235, allocations: 493.3 kB / 1.591 GB, free: 11.87 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/1.235, allocations: 77.98 kB / 1.591 GB, free: 11.81 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/1.235, allocations: 68.23 kB / 1.591 GB, free: 11.76 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/1.236, allocations: 0.5137 MB / 1.592 GB, free: 11.14 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/1.236, allocations: 30.56 kB / 1.592 GB, free: 11.1 MB / 1.01 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/1.236, allocations: 0 / 1.592 GB, free: 11.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.0003544/1.236, allocations: 153.8 kB / 1.592 GB, free: 10.98 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/1.236, allocations: 55.62 kB / 1.592 GB, free: 10.91 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/1.237, allocations: 199.2 kB / 1.592 GB, free: 10.74 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/1.237, allocations: 37.08 kB / 1.592 GB, free: 10.7 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/1.237, allocations: 137.3 kB / 1.592 GB, free: 10.6 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/1.237, allocations: 42.56 kB / 1.592 GB, free: 10.56 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/1.237, allocations: 0 / 1.592 GB, free: 10.56 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.237, allocations: 345.4 kB / 1.593 GB, free: 10.23 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/1.237, allocations: 43.11 kB / 1.593 GB, free: 10.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.483e-05/1.237, allocations: 47.61 kB / 1.593 GB, free: 10.17 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.607e-05/1.237, allocations: 43.98 kB / 1.593 GB, free: 10.14 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.237, allocations: 0 / 1.593 GB, free: 10.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002751/1.237, allocations: 162.9 kB / 1.593 GB, free: 10.01 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.238, allocations: 9.047 kB / 1.593 GB, free: 10 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/1.238, allocations: 4 kB / 1.593 GB, free: 10 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/1.238, allocations: 0 / 1.593 GB, free: 10 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/1.238, allocations: 63.25 kB / 1.593 GB, free: 9.941 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/1.238, allocations: 0 / 1.593 GB, free: 9.941 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/1.238, allocations: 43.91 kB / 1.593 GB, free: 9.898 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/1.238, allocations: 7.984 kB / 1.593 GB, free: 9.891 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 (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 7.843e-05/1.238, allocations: 110.1 kB / 1.593 GB, free: 9.781 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/1.238, allocations: 23.72 kB / 1.593 GB, free: 9.758 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/1.239, allocations: 186.8 kB / 1.593 GB, free: 9.617 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.239, allocations: 4 kB / 1.593 GB, free: 9.613 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.239, allocations: 0 / 1.593 GB, free: 9.613 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.239, allocations: 0 / 1.593 GB, free: 9.613 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/1.239, allocations: 276.9 kB / 1.594 GB, free: 9.332 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.239, allocations: 0 / 1.594 GB, free: 9.332 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/1.239, allocations: 59.94 kB / 1.594 GB, free: 9.273 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.239, allocations: 0 / 1.594 GB, free: 9.273 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/1.239, allocations: 3.984 kB / 1.594 GB, free: 9.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/1.239, allocations: 7.938 kB / 1.594 GB, free: 9.262 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.239, allocations: 4 kB / 1.594 GB, free: 9.258 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/1.24, allocations: 255.8 kB / 1.594 GB, free: 9.031 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.24, allocations: 107.7 kB / 1.594 GB, free: 8.914 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/1.24, allocations: 8 kB / 1.594 GB, free: 8.906 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/1.24, allocations: 35.66 kB / 1.594 GB, free: 8.875 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/1.24, allocations: 27.42 kB / 1.594 GB, free: 8.852 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/1.24, allocations: 4 kB / 1.594 GB, free: 8.848 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001382/1.24, allocations: 169 kB / 1.594 GB, free: 8.703 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.71e-07/1.24, allocations: 0 / 1.594 GB, free: 8.703 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003205/1.241, allocations: 75.16 kB / 1.594 GB, free: 8.637 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 (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.0007946/1.242, allocations: 0.8835 MB / 1.595 GB, free: 7.77 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002521/1.242, allocations: 114.2 kB / 1.595 GB, free: 7.695 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.242, allocations: 0 / 1.595 GB, free: 7.695 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/1.242, allocations: 76.03 kB / 1.595 GB, free: 7.645 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/1.242, allocations: 23.66 kB / 1.595 GB, free: 7.629 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007491/1.243, allocations: 327.9 kB / 1.596 GB, free: 7.305 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/1.243, allocations: 0.7355 MB / 1.596 GB, free: 6.543 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001852/1.243, allocations: 36.84 kB / 1.596 GB, free: 6.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/1.244, allocations: 70.77 kB / 1.597 GB, free: 6.473 MB / 1.01 GB Notification: Performance of SimCode: time 2.3e-07/1.244, allocations: 0 / 1.597 GB, free: 6.473 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/1.261, allocations: 5.429 MB / 1.602 GB, free: 1.238 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/1.261, allocations: 176.6 kB / 1.602 GB, free: 1.012 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/3.012, allocations: 3.938 kB / 1.602 GB, free: 1.008 MB / 1.01 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