Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.ASHRAESolarGain,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_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,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_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009612/0.0009609, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 183 kB / 16.92 MB, free: 6.926 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.473/1.473, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6942, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002293/0.6966, allocations: 1.846 MB / 0.9575 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004183/0.7008, allocations: 3.708 MB / 0.9611 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.701, allocations: 5.188 kB / 0.9611 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.7014, allocations: 41.81 kB / 0.9612 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004905/0.7019, allocations: 131 kB / 0.9613 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.7023, allocations: 128.3 kB / 0.9614 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.7027, allocations: 291.8 kB / 0.9617 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.7029, allocations: 53.45 kB / 0.9618 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.7032, allocations: 114.4 kB / 0.9619 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.7034, allocations: 136.7 kB / 0.962 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.7034, allocations: 9.625 kB / 0.962 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.7037, allocations: 122.9 kB / 0.9621 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.7038, allocations: 41.45 kB / 0.9622 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.704, allocations: 143.2 kB / 0.9623 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.7043, allocations: 224.8 kB / 0.9625 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7043, allocations: 1.031 kB / 0.9625 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7043, allocations: 0 / 0.9625 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.7043, allocations: 0 / 0.9625 GB, free: 2.277 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00113/0.7054, allocations: 0.6175 MB / 0.9631 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.7055, allocations: 12.98 kB / 0.9631 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009403/0.7064, allocations: 157.2 kB / 0.9633 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006879/0.7071, allocations: 333.2 kB / 0.9636 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.7072, allocations: 8.594 kB / 0.9636 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.7072, allocations: 15.38 kB / 0.9636 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/0.7079, allocations: 250.5 kB / 0.9639 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7079, allocations: 0 / 0.9639 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.7079, allocations: 9.312 kB / 0.9639 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.708, allocations: 2.781 kB / 0.9639 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.709, allocations: 341.6 kB / 0.9642 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.7103, allocations: 0.5969 MB / 0.9648 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.7109, allocations: 205.8 kB / 0.965 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005332/0.7114, allocations: 184.7 kB / 0.9651 GB, free: 416 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008274/0.7122, allocations: 0.5746 MB / 0.9657 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.7123, allocations: 35.59 kB / 0.9657 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 3.927e-06/0.7123, allocations: 4 kB / 0.9657 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.001816/0.7141, allocations: 0.5566 MB / 0.9663 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.7142, allocations: 54.06 kB / 0.9663 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.7145, allocations: 262.5 kB / 0.9666 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.7145, allocations: 26.64 kB / 0.9666 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.7146, allocations: 156 kB / 0.9668 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.7147, allocations: 49.55 kB / 0.9668 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.7147, allocations: 21.8 kB / 0.9668 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7149, allocations: 340.6 kB / 0.9672 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005824/0.7155, allocations: 174.7 kB / 0.9673 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.716, allocations: 180.6 kB / 0.9675 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.7172, allocations: 356.1 kB / 0.9678 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7172, allocations: 0 / 0.9678 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001297/0.7185, allocations: 431.6 kB / 0.9683 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.7185, allocations: 5.688 kB / 0.9683 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7185, allocations: 0 / 0.9683 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.7186, allocations: 1.156 kB / 0.9683 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.7191, allocations: 87.97 kB / 0.9683 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.7191, allocations: 0.9688 kB / 0.9683 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.7195, allocations: 66.05 kB / 0.9684 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.7196, allocations: 12.2 kB / 0.9684 GB, free: 14.11 MB / 0.7325 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 (17): * Single equations (assignments): 17 * 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.000165/0.7197, allocations: 123.4 kB / 0.9685 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.7198, allocations: 31.62 kB / 0.9686 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.7212, allocations: 439.1 kB / 0.969 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.7213, allocations: 0.9375 kB / 0.969 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.7213, allocations: 1 kB / 0.969 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.7213, allocations: 3.938 kB / 0.969 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.7217, allocations: 309.4 kB / 0.9693 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7218, allocations: 0 / 0.9693 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/0.7222, allocations: 74.8 kB / 0.9694 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.7222, allocations: 5.047 kB / 0.9694 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.7222, allocations: 1 kB / 0.9694 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.7222, allocations: 5 kB / 0.9694 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7223, allocations: 5.062 kB / 0.9694 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.7236, allocations: 0.5035 MB / 0.9699 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.7238, allocations: 118.2 kB / 0.97 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.7238, allocations: 1 kB / 0.97 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.7242, allocations: 58.06 kB / 0.97 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.7243, allocations: 17.61 kB / 0.97 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.7244, allocations: 11.17 kB / 0.9701 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002011/0.7246, allocations: 185.8 kB / 0.9702 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7246, allocations: 0.9688 kB / 0.9702 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004123/0.725, allocations: 65.42 kB / 0.9703 GB, free: 12.8 MB / 0.7325 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002739/0.7253, allocations: 144.5 kB / 0.9704 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.7265, allocations: 377.3 kB / 0.9708 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7265, allocations: 0 / 0.9708 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006054/0.7271, allocations: 196.3 kB / 0.971 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.7276, allocations: 36.52 kB / 0.971 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.7289, allocations: 0.6238 MB / 0.9716 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.7293, allocations: 0.7459 MB / 0.9724 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.7294, allocations: 30.25 kB / 0.9724 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.7294, allocations: 0 / 0.9724 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.008023/0.7375, allocations: 3.692 MB / 0.976 GB, free: 9.301 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches