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 1.985/1.985, allocations: 387.4 MB / 394.9 MB, free: 13.38 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: 180.8 kB / 487.4 MB, free: 5.043 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.285/1.285, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008511/0.0008511, allocations: 99.89 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.764e-05, allocations: 5.875 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.847/1.049, allocations: 373.7 MB / 1.571 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/1.05, allocations: 83.2 kB / 1.571 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02222/1.072, allocations: 9.64 MB / 1.58 GB, free: 8.023 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.254e-06/1.072, allocations: 0 / 1.58 GB, free: 8.023 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.728e-06/1.072, allocations: 1.531 kB / 1.58 GB, free: 8.023 MB / 0.9948 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.0006117/1.073, allocations: 464.6 kB / 1.581 GB, free: 7.535 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/1.073, allocations: 8.031 kB / 1.581 GB, free: 7.527 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/1.073, allocations: 19.77 kB / 1.581 GB, free: 7.508 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/1.073, allocations: 240.2 kB / 1.581 GB, free: 7.242 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/1.073, allocations: 0 / 1.581 GB, free: 7.242 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/1.073, allocations: 9.359 kB / 1.581 GB, free: 7.234 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001274/1.073, allocations: 68.09 kB / 1.581 GB, free: 7.191 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/1.074, allocations: 111.6 kB / 1.581 GB, free: 7.098 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/1.074, allocations: 3.984 kB / 1.581 GB, free: 7.094 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/1.074, allocations: 0 / 1.581 GB, free: 7.094 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/1.074, allocations: 14.64 kB / 1.581 GB, free: 7.082 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/1.074, allocations: 435.2 kB / 1.582 GB, free: 6.676 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/1.074, allocations: 139.2 kB / 1.582 GB, free: 6.574 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/1.075, allocations: 84.81 kB / 1.582 GB, free: 6.512 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/1.075, allocations: 0 / 1.582 GB, free: 6.512 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/1.075, allocations: 34.56 kB / 1.582 GB, free: 6.469 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/1.075, allocations: 0 / 1.582 GB, free: 6.469 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0004956/1.075, allocations: 198.5 kB / 1.582 GB, free: 6.305 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/1.075, allocations: 55.41 kB / 1.582 GB, free: 6.238 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/1.075, allocations: 174.9 kB / 1.582 GB, free: 6.09 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/1.075, allocations: 29.7 kB / 1.582 GB, free: 6.055 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/1.075, allocations: 116.1 kB / 1.583 GB, free: 5.961 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/1.075, allocations: 46.23 kB / 1.583 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/1.075, allocations: 0 / 1.583 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.076, allocations: 329.7 kB / 1.583 GB, free: 5.598 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/1.076, allocations: 53.61 kB / 1.583 GB, free: 5.562 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.8e-05/1.076, allocations: 49.47 kB / 1.583 GB, free: 5.531 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/1.076, allocations: 81.42 kB / 1.583 GB, free: 5.469 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.076, allocations: 0 / 1.583 GB, free: 5.469 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003951/1.076, allocations: 196.1 kB / 1.583 GB, free: 5.309 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.076, allocations: 4 kB / 1.583 GB, free: 5.305 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/1.076, allocations: 0 / 1.583 GB, free: 5.305 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/1.076, allocations: 3.984 kB / 1.583 GB, free: 5.301 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/1.077, allocations: 47.86 kB / 1.583 GB, free: 5.254 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/1.077, allocations: 0 / 1.583 GB, free: 5.254 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/1.077, allocations: 19.92 kB / 1.583 GB, free: 5.234 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/1.077, allocations: 7.984 kB / 1.583 GB, free: 5.227 MB / 0.9948 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.478e-05/1.077, allocations: 108 kB / 1.583 GB, free: 5.117 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/1.077, allocations: 19.81 kB / 1.583 GB, free: 5.098 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/1.077, allocations: 19.22 kB / 1.583 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.077, allocations: 0 / 1.583 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.077, allocations: 7.938 kB / 1.583 GB, free: 5.082 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/1.077, allocations: 0 / 1.583 GB, free: 5.082 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/1.077, allocations: 237 kB / 1.584 GB, free: 4.844 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.077, allocations: 0 / 1.584 GB, free: 4.844 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/1.078, allocations: 43.91 kB / 1.584 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.078, allocations: 4 kB / 1.584 GB, free: 4.797 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/1.078, allocations: 4 kB / 1.584 GB, free: 4.793 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.078, allocations: 0 / 1.584 GB, free: 4.793 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.078, allocations: 3.938 kB / 1.584 GB, free: 4.789 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/1.078, allocations: 291.6 kB / 1.584 GB, free: 4.527 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/1.078, allocations: 112.6 kB / 1.584 GB, free: 4.402 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/1.078, allocations: 4 kB / 1.584 GB, free: 4.398 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/1.078, allocations: 15.98 kB / 1.584 GB, free: 4.383 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/1.078, allocations: 19.59 kB / 1.584 GB, free: 4.367 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/1.078, allocations: 4 kB / 1.584 GB, free: 4.363 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.638e-05/1.079, allocations: 147.8 kB / 1.584 GB, free: 4.242 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2e-07/1.079, allocations: 0 / 1.584 GB, free: 4.242 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002655/1.079, allocations: 36 kB / 1.584 GB, free: 4.207 MB / 0.9948 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.0002093/1.079, allocations: 155.8 kB / 1.585 GB, free: 4.047 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002026/1.079, allocations: 122.4 kB / 1.585 GB, free: 3.965 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.079, allocations: 0 / 1.585 GB, free: 3.965 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.185e-05/1.079, allocations: 66.67 kB / 1.585 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/1.08, allocations: 25.69 kB / 1.585 GB, free: 3.898 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/1.08, allocations: 243.9 kB / 1.585 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/1.08, allocations: 0.7275 MB / 1.586 GB, free: 2.914 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001688/1.08, allocations: 52.72 kB / 1.586 GB, free: 2.863 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/1.081, allocations: 15.42 kB / 1.586 GB, free: 2.848 MB / 0.9948 GB Notification: Performance of SimCode: time 2.31e-07/1.081, allocations: 4 kB / 1.586 GB, free: 2.844 MB / 0.9948 GB Notification: Performance of Templates: time 0.004004/1.085, allocations: 1.851 MB / 1.588 GB, free: 1.016 MB / 0.9948 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