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.393/2.393, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001369/0.001369, allocations: 179.3 kB / 498.1 MB, free: 5.738 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.735/1.735, allocations: 223.2 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.001302/0.001302, allocations: 96.2 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004995, allocations: 8.594 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3531, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.488, allocations: 374.5 MB / 1.589 GB, free: 20.68 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.489, allocations: 84.5 kB / 1.589 GB, free: 20.63 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02143/1.51, allocations: 9.764 MB / 1.598 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.914e-06/1.51, allocations: 0 / 1.598 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.416e-05/1.51, allocations: 4 kB / 1.598 GB, free: 12.6 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007101/1.511, allocations: 0.4934 MB / 1.599 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.511, allocations: 11.75 kB / 1.599 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/1.511, allocations: 38.25 kB / 1.599 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/1.511, allocations: 23.72 kB / 1.599 GB, free: 12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/1.511, allocations: 244.9 kB / 1.599 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/1.511, allocations: 15.42 kB / 1.599 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/1.511, allocations: 0 / 1.599 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/1.512, allocations: 150.1 kB / 1.599 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.512, allocations: 0 / 1.599 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/1.512, allocations: 3.953 kB / 1.599 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/1.512, allocations: 11.62 kB / 1.599 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/1.512, allocations: 160 kB / 1.599 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006484/1.513, allocations: 467.6 kB / 1.6 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/1.513, allocations: 176.2 kB / 1.6 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/1.513, allocations: 7.688 kB / 1.6 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/1.513, allocations: 30.56 kB / 1.6 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/1.513, allocations: 0 / 1.6 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0007457/1.514, allocations: 310.5 kB / 1.6 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/1.514, allocations: 63.39 kB / 1.6 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/1.514, allocations: 187.9 kB / 1.601 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/1.514, allocations: 29.64 kB / 1.601 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/1.514, allocations: 124.2 kB / 1.601 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/1.514, allocations: 47.16 kB / 1.601 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/1.514, allocations: 3.812 kB / 1.601 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 5.75e-05/1.514, allocations: 330.2 kB / 1.601 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/1.515, allocations: 85.38 kB / 1.601 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/1.515, allocations: 83 kB / 1.601 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/1.515, allocations: 97.5 kB / 1.601 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.515, allocations: 0 / 1.601 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004477/1.515, allocations: 234.5 kB / 1.602 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.515, allocations: 9.672 kB / 1.602 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.515, allocations: 0 / 1.602 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.515, allocations: 0 / 1.602 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/1.516, allocations: 39.97 kB / 1.602 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/1.516, allocations: 4 kB / 1.602 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/1.516, allocations: 23.16 kB / 1.602 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/1.516, allocations: 0 / 1.602 GB, free: 9.355 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 (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 8.946e-05/1.516, allocations: 136.6 kB / 1.602 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/1.516, allocations: 23.72 kB / 1.602 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/1.516, allocations: 27.73 kB / 1.602 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/1.516, allocations: 0 / 1.602 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.516, allocations: 3.984 kB / 1.602 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.516, allocations: 4 kB / 1.602 GB, free: 9.172 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/1.516, allocations: 254.2 kB / 1.602 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.516, allocations: 4 kB / 1.602 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/1.517, allocations: 35.97 kB / 1.602 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.517, allocations: 4 kB / 1.602 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/1.517, allocations: 3.984 kB / 1.602 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.517, allocations: 3.953 kB / 1.602 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.517, allocations: 3.984 kB / 1.602 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/1.517, allocations: 338 kB / 1.602 GB, free: 8.551 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-05/1.517, allocations: 111.9 kB / 1.603 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/1.517, allocations: 0 / 1.603 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/1.517, allocations: 23.48 kB / 1.603 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/1.518, allocations: 11.94 kB / 1.603 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/1.518, allocations: 11.98 kB / 1.603 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.723e-05/1.518, allocations: 149.7 kB / 1.603 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.5e-07/1.518, allocations: 0 / 1.603 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002798/1.518, allocations: 51.05 kB / 1.603 GB, free: 8.215 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 (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.0007967/1.519, allocations: 0.9102 MB / 1.604 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004529/1.519, allocations: 200.2 kB / 1.604 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.519, allocations: 0 / 1.604 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/1.519, allocations: 109.2 kB / 1.604 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/1.52, allocations: 24.86 kB / 1.604 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/1.522, allocations: 1.313 MB / 1.605 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/1.522, allocations: 0.7316 MB / 1.606 GB, free: 5.098 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001716/1.522, allocations: 53.19 kB / 1.606 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.949e-05/1.522, allocations: 51.11 kB / 1.606 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/1.522, allocations: 4 kB / 1.606 GB, free: 5.023 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/1.537, allocations: 4.385 MB / 1.61 GB, free: 0.8281 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/1.537, allocations: 202.1 kB / 1.611 GB, free: 0.5859 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/3.399, allocations: 4 kB / 1.611 GB, free: 0.582 MB / 0.9167 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