Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.154/2.154, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001019/0.001019, allocations: 172.9 kB / 492.3 MB, free: 0.5938 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.351/1.351, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0008585/0.0008585, allocations: 89.39 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.664e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.214, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9293/1.143, allocations: 374.4 MB / 1.578 GB, free: 7.039 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/1.144, allocations: 87 kB / 1.578 GB, free: 6.992 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02413/1.168, allocations: 9.719 MB / 1.588 GB, free: 15.02 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.574e-06/1.168, allocations: 0 / 1.588 GB, free: 15.02 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.162e-05/1.168, allocations: 5.531 kB / 1.588 GB, free: 15.01 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.0006201/1.168, allocations: 464.8 kB / 1.588 GB, free: 14.52 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.168, allocations: 12.03 kB / 1.588 GB, free: 14.51 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/1.169, allocations: 33.38 kB / 1.588 GB, free: 14.47 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/1.169, allocations: 27.77 kB / 1.588 GB, free: 14.45 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/1.169, allocations: 242.9 kB / 1.588 GB, free: 14.18 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/1.169, allocations: 5.422 kB / 1.588 GB, free: 14.18 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/1.169, allocations: 0 / 1.588 GB, free: 14.18 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/1.169, allocations: 115.5 kB / 1.589 GB, free: 14.08 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/1.169, allocations: 4 kB / 1.589 GB, free: 14.08 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/1.169, allocations: 3.984 kB / 1.589 GB, free: 14.07 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/1.169, allocations: 18.69 kB / 1.589 GB, free: 14.06 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/1.17, allocations: 91.56 kB / 1.589 GB, free: 14 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/1.17, allocations: 466.5 kB / 1.589 GB, free: 13.55 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/1.17, allocations: 142.9 kB / 1.589 GB, free: 13.45 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/1.171, allocations: 84.45 kB / 1.589 GB, free: 13.39 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/1.171, allocations: 7.938 kB / 1.589 GB, free: 13.38 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/1.171, allocations: 30.56 kB / 1.589 GB, free: 13.34 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 3.106e-06/1.171, allocations: 0 / 1.589 GB, free: 13.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0003235/1.171, allocations: 170 kB / 1.59 GB, free: 13.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/1.171, allocations: 55.41 kB / 1.59 GB, free: 13.14 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/1.171, allocations: 190 kB / 1.59 GB, free: 12.97 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/1.171, allocations: 25.7 kB / 1.59 GB, free: 12.94 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/1.171, allocations: 123.2 kB / 1.59 GB, free: 12.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/1.171, allocations: 42.02 kB / 1.59 GB, free: 12.8 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/1.171, allocations: 3.5 kB / 1.59 GB, free: 12.8 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/1.171, allocations: 329.4 kB / 1.59 GB, free: 12.48 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.141e-05/1.172, allocations: 47.48 kB / 1.59 GB, free: 12.45 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/1.172, allocations: 53.67 kB / 1.59 GB, free: 12.41 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.499e-05/1.172, allocations: 57.14 kB / 1.59 GB, free: 12.38 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.172, allocations: 4 kB / 1.59 GB, free: 12.37 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002543/1.172, allocations: 167.4 kB / 1.591 GB, free: 12.23 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.172, allocations: 11.95 kB / 1.591 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/1.172, allocations: 0 / 1.591 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/1.172, allocations: 0 / 1.591 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/1.172, allocations: 39.95 kB / 1.591 GB, free: 12.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.172, allocations: 0 / 1.591 GB, free: 12.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/1.172, allocations: 27.55 kB / 1.591 GB, free: 12.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/1.172, allocations: 4 kB / 1.591 GB, free: 12.16 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 6.749e-05/1.173, allocations: 110 kB / 1.591 GB, free: 12.05 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/1.173, allocations: 23.72 kB / 1.591 GB, free: 12.02 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/1.173, allocations: 32.34 kB / 1.591 GB, free: 12 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/1.173, allocations: 0 / 1.591 GB, free: 12 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.173, allocations: 0 / 1.591 GB, free: 12 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/1.173, allocations: 0 / 1.591 GB, free: 12 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/1.173, allocations: 266.1 kB / 1.591 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.173, allocations: 0 / 1.591 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/1.173, allocations: 39.66 kB / 1.591 GB, free: 11.69 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/1.173, allocations: 4 kB / 1.591 GB, free: 11.69 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/1.173, allocations: 7.922 kB / 1.591 GB, free: 11.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.173, allocations: 3.953 kB / 1.591 GB, free: 11.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.173, allocations: 0 / 1.591 GB, free: 11.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/1.174, allocations: 281.6 kB / 1.591 GB, free: 11.42 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/1.174, allocations: 112 kB / 1.592 GB, free: 11.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/1.174, allocations: 3.625 kB / 1.592 GB, free: 11.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/1.174, allocations: 20.34 kB / 1.592 GB, free: 11.28 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/1.174, allocations: 11.94 kB / 1.592 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/1.174, allocations: 11.62 kB / 1.592 GB, free: 11.26 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001163/1.174, allocations: 159.4 kB / 1.592 GB, free: 11.13 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/1.174, allocations: 0 / 1.592 GB, free: 11.13 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002601/1.174, allocations: 35.69 kB / 1.592 GB, free: 11.1 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.0006452/1.175, allocations: 0.8563 MB / 1.593 GB, free: 10.26 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002311/1.175, allocations: 123.5 kB / 1.593 GB, free: 10.18 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.175, allocations: 0 / 1.593 GB, free: 10.18 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/1.175, allocations: 77.72 kB / 1.593 GB, free: 10.12 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/1.176, allocations: 23.31 kB / 1.593 GB, free: 10.11 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/1.176, allocations: 302.1 kB / 1.593 GB, free: 9.809 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/1.177, allocations: 0.7313 MB / 1.594 GB, free: 9.055 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001879/1.177, allocations: 52.7 kB / 1.594 GB, free: 9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.87e-05/1.177, allocations: 48.28 kB / 1.594 GB, free: 8.98 MB / 1.01 GB Notification: Performance of SimCode: time 3.1e-07/1.177, allocations: 0 / 1.594 GB, free: 8.98 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/1.192, allocations: 4.58 MB / 1.598 GB, free: 4.59 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/1.192, allocations: 171.2 kB / 1.599 GB, free: 4.367 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.931, allocations: 3.938 kB / 1.599 GB, free: 4.363 MB / 1.01 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat does not exist to compare? outputFormat=mat