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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001974/0.001974, allocations: 173 kB / 492.3 MB, free: 0.6289 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.669/1.669, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009403/0.0009403, allocations: 99.45 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.724e-05/4.726e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3163, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.607, allocations: 374.4 MB / 1.578 GB, free: 7.223 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/1.608, allocations: 91.19 kB / 1.578 GB, free: 7.172 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02357/1.631, allocations: 9.722 MB / 1.588 GB, free: 15.18 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.176e-06/1.631, allocations: 0 / 1.588 GB, free: 15.18 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.133e-05/1.631, allocations: 5.531 kB / 1.588 GB, free: 15.18 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.0006569/1.632, allocations: 457.5 kB / 1.588 GB, free: 14.7 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/1.632, allocations: 8.031 kB / 1.588 GB, free: 14.69 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/1.632, allocations: 23.77 kB / 1.588 GB, free: 14.66 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/1.633, allocations: 238 kB / 1.588 GB, free: 14.4 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/1.633, allocations: 1.422 kB / 1.588 GB, free: 14.4 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/1.633, allocations: 4 kB / 1.588 GB, free: 14.4 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/1.633, allocations: 119.5 kB / 1.588 GB, free: 14.3 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/1.633, allocations: 4 kB / 1.588 GB, free: 14.3 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/1.633, allocations: 0 / 1.588 GB, free: 14.3 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/1.633, allocations: 11.19 kB / 1.588 GB, free: 14.29 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/1.633, allocations: 98.56 kB / 1.589 GB, free: 14.22 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007158/1.634, allocations: 467 kB / 1.589 GB, free: 13.78 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/1.634, allocations: 144.8 kB / 1.589 GB, free: 13.67 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/1.634, allocations: 80.09 kB / 1.589 GB, free: 13.61 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/1.634, allocations: 3.984 kB / 1.589 GB, free: 13.61 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/1.634, allocations: 38.5 kB / 1.589 GB, free: 13.56 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/1.634, allocations: 4 kB / 1.589 GB, free: 13.56 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0003464/1.635, allocations: 167.5 kB / 1.589 GB, free: 13.42 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/1.635, allocations: 51.41 kB / 1.589 GB, free: 13.36 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/1.635, allocations: 187.1 kB / 1.59 GB, free: 13.2 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/1.635, allocations: 28.89 kB / 1.59 GB, free: 13.16 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/1.635, allocations: 125.6 kB / 1.59 GB, free: 13.06 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/1.635, allocations: 42.33 kB / 1.59 GB, free: 13.03 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/1.635, allocations: 0 / 1.59 GB, free: 13.03 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.635, allocations: 329.2 kB / 1.59 GB, free: 12.71 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/1.635, allocations: 56.22 kB / 1.59 GB, free: 12.67 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.171e-05/1.635, allocations: 46.61 kB / 1.59 GB, free: 12.64 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/1.636, allocations: 58.41 kB / 1.59 GB, free: 12.6 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.636, allocations: 0 / 1.59 GB, free: 12.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000262/1.636, allocations: 172.5 kB / 1.59 GB, free: 12.46 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.636, allocations: 8 kB / 1.59 GB, free: 12.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.636, allocations: 3.953 kB / 1.59 GB, free: 12.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.636, allocations: 0 / 1.59 GB, free: 12.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/1.636, allocations: 47.41 kB / 1.591 GB, free: 12.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/1.636, allocations: 0 / 1.591 GB, free: 12.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/1.636, allocations: 23.86 kB / 1.591 GB, free: 12.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/1.636, allocations: 8.609 kB / 1.591 GB, free: 12.37 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 7.405e-05/1.636, allocations: 106 kB / 1.591 GB, free: 12.27 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/1.636, allocations: 23.22 kB / 1.591 GB, free: 12.25 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/1.637, allocations: 36.14 kB / 1.591 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.637, allocations: 3.953 kB / 1.591 GB, free: 12.21 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.637, allocations: 0 / 1.591 GB, free: 12.21 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.637, allocations: 0 / 1.591 GB, free: 12.21 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/1.637, allocations: 261.9 kB / 1.591 GB, free: 11.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.637, allocations: 0 / 1.591 GB, free: 11.95 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/1.637, allocations: 39.95 kB / 1.591 GB, free: 11.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.637, allocations: 3.984 kB / 1.591 GB, free: 11.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/1.637, allocations: 8 kB / 1.591 GB, free: 11.89 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.637, allocations: 3.938 kB / 1.591 GB, free: 11.89 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.637, allocations: 3.953 kB / 1.591 GB, free: 11.89 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/1.637, allocations: 271.6 kB / 1.591 GB, free: 11.64 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.382e-05/1.638, allocations: 111.5 kB / 1.591 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/1.638, allocations: 4 kB / 1.591 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/1.638, allocations: 24.05 kB / 1.591 GB, free: 11.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/1.638, allocations: 11.94 kB / 1.591 GB, free: 11.49 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/1.638, allocations: 3.984 kB / 1.591 GB, free: 11.48 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001157/1.638, allocations: 151.3 kB / 1.592 GB, free: 11.36 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.3e-07/1.638, allocations: 0 / 1.592 GB, free: 11.36 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002677/1.638, allocations: 47.73 kB / 1.592 GB, free: 11.32 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.0002517/1.639, allocations: 147.1 kB / 1.592 GB, free: 11.18 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002423/1.639, allocations: 131.7 kB / 1.592 GB, free: 11.08 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.639, allocations: 0 / 1.592 GB, free: 11.08 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/1.639, allocations: 71.59 kB / 1.592 GB, free: 11.03 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/1.639, allocations: 29.91 kB / 1.592 GB, free: 11.01 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/1.64, allocations: 249 kB / 1.592 GB, free: 10.78 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/1.64, allocations: 0.7277 MB / 1.593 GB, free: 10.02 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001768/1.64, allocations: 52.7 kB / 1.593 GB, free: 9.969 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/1.64, allocations: 19.42 kB / 1.593 GB, free: 9.949 MB / 1.01 GB Notification: Performance of SimCode: time 2.31e-07/1.64, allocations: 4 kB / 1.593 GB, free: 9.945 MB / 1.01 GB Notification: Performance of Templates: time 0.005352/1.646, allocations: 2.508 MB / 1.595 GB, free: 7.465 MB / 1.01 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (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 & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches