Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 112.9 kB / 16.42 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 189 kB / 17.35 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.491/2.491, allocations: 461.7 MB / 0.7352 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6885/0.6897, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003025/0.6928, allocations: 2.021 MB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004223/0.697, allocations: 3.684 MB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.6972, allocations: 4 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.6975, allocations: 63.28 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.6978, allocations: 111.2 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.6984, allocations: 127.6 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.6988, allocations: 255.1 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.699, allocations: 52.38 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.6994, allocations: 107.6 kB / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.6996, allocations: 123.4 kB / 1.215 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.6996, allocations: 12 kB / 1.215 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.6999, allocations: 115.8 kB / 1.215 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.7, allocations: 43.83 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.7001, allocations: 95.41 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.7005, allocations: 288.9 kB / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7005, allocations: 0 / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7005, allocations: 0 / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.7005, allocations: 0 / 1.215 GB, free: 6.504 MB / 0.9356 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.001084/0.7016, allocations: 0.584 MB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.7016, allocations: 8.031 kB / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.7017, allocations: 24.66 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.7021, allocations: 267.6 kB / 1.216 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.7021, allocations: 8.375 kB / 1.216 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.7022, allocations: 12.31 kB / 1.216 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.7026, allocations: 175.4 kB / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.7027, allocations: 0 / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.7027, allocations: 4 kB / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.7027, allocations: 0 / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006426/0.7033, allocations: 191.8 kB / 1.216 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008113/0.7042, allocations: 496.3 kB / 1.217 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.7045, allocations: 122.5 kB / 1.217 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.7049, allocations: 112.8 kB / 1.217 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007949/0.7057, allocations: 0.5417 MB / 1.218 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.7057, allocations: 38.5 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.7057, allocations: 0 / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001139/0.7069, allocations: 357.1 kB / 1.218 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.7069, allocations: 51.41 kB / 1.218 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.7071, allocations: 238.7 kB / 1.218 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.7072, allocations: 25.7 kB / 1.218 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.7072, allocations: 143.9 kB / 1.218 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.7073, allocations: 43.44 kB / 1.218 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.7074, allocations: 29.7 kB / 1.218 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.7075, allocations: 334.8 kB / 1.219 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.7078, allocations: 99.84 kB / 1.219 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.7081, allocations: 95.91 kB / 1.219 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.7088, allocations: 204.6 kB / 1.219 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7088, allocations: 0 / 1.219 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007435/0.7095, allocations: 257.9 kB / 1.219 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.7096, allocations: 4 kB / 1.219 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7096, allocations: 3.984 kB / 1.219 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.7096, allocations: 0 / 1.219 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.7099, allocations: 43.95 kB / 1.219 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.7099, allocations: 0 / 1.219 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.7101, allocations: 39.8 kB / 1.219 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.7102, allocations: 4 kB / 1.219 GB, free: 1.684 MB / 0.9356 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.7103, allocations: 131.5 kB / 1.22 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.7103, allocations: 23.72 kB / 1.22 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008183/0.7111, allocations: 283.2 kB / 1.22 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7112, allocations: 3.984 kB / 1.22 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.7112, allocations: 4 kB / 1.22 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.7113, allocations: 116.8 kB / 1.22 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.7113, allocations: 4 kB / 1.22 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.7115, allocations: 23.97 kB / 1.22 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.7116, allocations: 15.92 kB / 1.22 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009317/0.7125, allocations: 352.7 kB / 1.22 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008137/0.7134, allocations: 434.2 kB / 1.221 GB, free: 276 kB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003464/0.7137, allocations: 115.9 kB / 1.221 GB, free: 160 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000142/0.7139, allocations: 166 kB / 1.221 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of Backend: time 6.01e-07/0.7139, allocations: 0 / 1.221 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008105/0.7147, allocations: 232.4 kB / 1.221 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009408/0.7157, allocations: 0.8392 MB / 1.222 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of Templates: time 0.006989/0.7227, allocations: 3.448 MB / 1.226 GB, free: 11.45 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches