Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001064/0.001064, allocations: 110.5 kB / 16.42 MB, free: 6.496 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.0009897/0.0009898, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7072, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003129/0.7103, allocations: 2.016 MB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004254/0.7146, allocations: 3.693 MB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.7147, allocations: 7.938 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.715, allocations: 55.36 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.7153, allocations: 103.3 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.7157, allocations: 127.6 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.716, allocations: 259.1 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.7161, allocations: 44.36 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.7163, allocations: 111.6 kB / 1.174 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.7165, allocations: 119.5 kB / 1.174 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.7166, allocations: 12 kB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.7168, allocations: 123.8 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.7169, allocations: 47.78 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.717, allocations: 103.4 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.7173, allocations: 269 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.7173, allocations: 0 / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7174, allocations: 4 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.7174, allocations: 3.938 kB / 1.174 GB, free: 12.74 MB / 0.9044 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.001143/0.7185, allocations: 0.5801 MB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.7186, allocations: 12.92 kB / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.7186, allocations: 24.66 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.719, allocations: 275.5 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.7191, allocations: 8.375 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.7191, allocations: 8.375 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.7196, allocations: 175.9 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.7196, allocations: 3.938 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.7196, allocations: 0 / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7197, allocations: 0 / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006756/0.7203, allocations: 199.8 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008423/0.7212, allocations: 484.4 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.7216, allocations: 126.4 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.722, allocations: 113 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008487/0.7229, allocations: 0.5532 MB / 1.177 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.7229, allocations: 38.55 kB / 1.177 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.7229, allocations: 4 kB / 1.177 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.001203/0.7241, allocations: 345.1 kB / 1.177 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.7241, allocations: 51.41 kB / 1.177 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.7244, allocations: 242.7 kB / 1.177 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.7244, allocations: 29.64 kB / 1.177 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.7245, allocations: 144 kB / 1.177 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.7245, allocations: 35.45 kB / 1.178 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-05/0.7246, allocations: 29.69 kB / 1.178 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7247, allocations: 338.8 kB / 1.178 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.7251, allocations: 95.84 kB / 1.178 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.7254, allocations: 99.91 kB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006878/0.7262, allocations: 192.7 kB / 1.178 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7262, allocations: 4 kB / 1.178 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007765/0.727, allocations: 249.9 kB / 1.178 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.727, allocations: 4 kB / 1.179 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.727, allocations: 4 kB / 1.179 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.727, allocations: 0 / 1.179 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.7273, allocations: 55.88 kB / 1.179 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.7273, allocations: 0 / 1.179 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.7276, allocations: 31.81 kB / 1.179 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.7276, allocations: 3.984 kB / 1.179 GB, free: 7.918 MB / 0.9044 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.0001102/0.7277, allocations: 125.8 kB / 1.179 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.7278, allocations: 23.72 kB / 1.179 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009411/0.7287, allocations: 291.1 kB / 1.179 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7287, allocations: 0 / 1.179 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7287, allocations: 0 / 1.179 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.7288, allocations: 116.8 kB / 1.179 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.7289, allocations: 4 kB / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.7292, allocations: 23.97 kB / 1.179 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.7292, allocations: 19.91 kB / 1.179 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001021/0.7303, allocations: 352.7 kB / 1.18 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008714/0.7311, allocations: 442.2 kB / 1.18 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003661/0.7315, allocations: 107.9 kB / 1.18 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001372/0.7317, allocations: 169.9 kB / 1.18 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of Backend: time 5.41e-07/0.7317, allocations: 0 / 1.18 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008608/0.7325, allocations: 228.9 kB / 1.18 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009877/0.7335, allocations: 0.8247 MB / 1.181 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of Templates: time 0.0068/0.7404, allocations: 3.484 MB / 1.185 GB, free: 1.668 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches