Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 249.5 MB / 257 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001544, allocations: 187.5 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 86.44 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.893e-05/1.895e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2596, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.264, allocations: 356.3 MB / 1.233 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/1.264, allocations: 92.5 kB / 1.233 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02621/1.29, allocations: 10.55 MB / 1.244 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.824e-06/1.29, allocations: 0 / 1.244 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.338e-05/1.29, allocations: 4 kB / 1.244 GB, free: 4.664 MB / 0.8542 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.001/1.291, allocations: 0.5741 MB / 1.244 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.292, allocations: 8.031 kB / 1.244 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/1.292, allocations: 27.72 kB / 1.244 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000601/1.292, allocations: 268.9 kB / 1.244 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/1.292, allocations: 7.938 kB / 1.244 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/1.292, allocations: 7.938 kB / 1.244 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002036/1.292, allocations: 92.28 kB / 1.244 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/1.293, allocations: 116.7 kB / 1.245 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/1.293, allocations: 0 / 1.245 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/1.293, allocations: 0 / 1.245 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.293, allocations: 4 kB / 1.245 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008014/1.294, allocations: 463.6 kB / 1.245 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/1.294, allocations: 71 kB / 1.245 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.426e-05/1.294, allocations: 59.84 kB / 1.245 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006354/1.294, allocations: 0.5179 MB / 1.246 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/1.294, allocations: 34.5 kB / 1.246 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/1.294, allocations: 0 / 1.246 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.5829/1.877, allocations: 3.731 MB / 1.249 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/1.878, allocations: 54.67 kB / 1.249 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/1.878, allocations: 191.2 kB / 1.25 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/1.878, allocations: 28.45 kB / 1.25 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/1.878, allocations: 141.1 kB / 1.25 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/1.878, allocations: 36.59 kB / 1.25 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/1.878, allocations: 0 / 1.25 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.687e-05/1.878, allocations: 335.3 kB / 1.25 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/1.878, allocations: 50.75 kB / 1.25 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/1.878, allocations: 47.36 kB / 1.25 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04996/1.928, allocations: 3.631 MB / 1.254 GB, free: 308.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/1.928, allocations: 0.75 kB / 1.254 GB, free: 308.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.04882/1.977, allocations: 3.736 MB / 1.257 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/1.977, allocations: 4.719 kB / 1.257 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.977, allocations: 1.031 kB / 1.257 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.977, allocations: 4 kB / 1.257 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/1.978, allocations: 56.34 kB / 1.257 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.978, allocations: 0.7969 kB / 1.257 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/1.978, allocations: 38.59 kB / 1.257 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/1.978, allocations: 5.219 kB / 1.257 GB, free: 308.2 MB / 0.8542 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 9.272e-05/1.978, allocations: 107.1 kB / 1.258 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/1.978, allocations: 23.33 kB / 1.258 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04801/2.026, allocations: 3.76 MB / 1.261 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/2.026, allocations: 1.219 kB / 1.261 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/2.026, allocations: 1.859 kB / 1.261 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/2.026, allocations: 0.6094 kB / 1.261 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/2.027, allocations: 240.7 kB / 1.262 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/2.027, allocations: 0 / 1.262 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/2.027, allocations: 63.62 kB / 1.262 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/2.027, allocations: 1.875 kB / 1.262 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/2.027, allocations: 3.391 kB / 1.262 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/2.027, allocations: 1.375 kB / 1.262 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.027, allocations: 0 / 1.262 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04818/2.075, allocations: 3.841 MB / 1.265 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/2.076, allocations: 115.2 kB / 1.265 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/2.076, allocations: 0.75 kB / 1.265 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/2.076, allocations: 35.95 kB / 1.265 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/2.076, allocations: 20.19 kB / 1.266 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/2.076, allocations: 2.812 kB / 1.266 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002542/2.076, allocations: 156.3 kB / 1.266 GB, free: 307 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.2e-07/2.076, allocations: 1.031 kB / 1.266 GB, free: 307 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000578/2.077, allocations: 64.38 kB / 1.266 GB, free: 307 MB / 0.8542 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.0005307/2.078, allocations: 186.8 kB / 1.266 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003885/2.078, allocations: 116.8 kB / 1.266 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/2.078, allocations: 0 / 1.266 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/2.078, allocations: 67 kB / 1.266 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/2.079, allocations: 31.48 kB / 1.266 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007425/2.079, allocations: 230.6 kB / 1.266 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/2.08, allocations: 0.7422 MB / 1.267 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002138/2.08, allocations: 43.8 kB / 1.267 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/2.08, allocations: 17.89 kB / 1.267 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/2.08, allocations: 1.156 kB / 1.267 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.006315/2.086, allocations: 2.503 MB / 1.27 GB, free: 305.9 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches