Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.005146/0.005146, allocations: 99.3 kB / 15.73 MB, free: 6.004 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.001148/0.001148, allocations: 191.4 kB / 16.67 MB, free: 5.922 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.48/2.48, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.911/0.9125, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003751/0.9163, allocations: 2.163 MB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004688/0.921, allocations: 3.786 MB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.9212, allocations: 4 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.9215, allocations: 59.06 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.9219, allocations: 115.1 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.9223, allocations: 163.6 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.9227, allocations: 310.9 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.9229, allocations: 68.5 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.9231, allocations: 127.5 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.9233, allocations: 151.3 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.9233, allocations: 20 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.9236, allocations: 127.8 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.9237, allocations: 67.69 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.9238, allocations: 123.3 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.9242, allocations: 335.6 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9242, allocations: 3.938 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.866e-06/0.9242, allocations: 0 / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.9243, allocations: 3.938 kB / 1.174 GB, free: 12.23 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001203/0.9255, allocations: 0.6344 MB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.9255, allocations: 8.922 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009069/0.9264, allocations: 176.5 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006866/0.9271, allocations: 320.5 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.9272, allocations: 8.562 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.9272, allocations: 15.88 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.9279, allocations: 230.5 kB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.9279, allocations: 0 / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.9279, allocations: 4 kB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.9279, allocations: 0 / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009792/0.9289, allocations: 287.7 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.9301, allocations: 0.5785 MB / 1.176 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.9307, allocations: 170.4 kB / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.9312, allocations: 154.3 kB / 1.177 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008014/0.932, allocations: 0.5532 MB / 1.177 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.9321, allocations: 34.56 kB / 1.177 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 2.695e-06/0.9321, allocations: 3.984 kB / 1.177 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.001677/0.9337, allocations: 485.3 kB / 1.178 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.9338, allocations: 55.41 kB / 1.178 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.9341, allocations: 264.6 kB / 1.178 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.9341, allocations: 29.7 kB / 1.178 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.9342, allocations: 152 kB / 1.178 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.9342, allocations: 47.58 kB / 1.178 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.382e-05/0.9343, allocations: 37.69 kB / 1.178 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9345, allocations: 342.8 kB / 1.178 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.935, allocations: 151.8 kB / 1.179 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/0.9355, allocations: 147.9 kB / 1.179 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009744/0.9365, allocations: 295 kB / 1.179 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.9365, allocations: 3.938 kB / 1.179 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001123/0.9376, allocations: 369.1 kB / 1.179 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.9377, allocations: 7.938 kB / 1.179 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9377, allocations: 0 / 1.179 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.9377, allocations: 0 / 1.179 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/0.9382, allocations: 71.92 kB / 1.179 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.9382, allocations: 3.938 kB / 1.179 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.9385, allocations: 47.83 kB / 1.179 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/0.9385, allocations: 4 kB / 1.179 GB, free: 6.289 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 (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.0001426/0.9387, allocations: 139.9 kB / 1.18 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.9388, allocations: 27.86 kB / 1.18 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.94, allocations: 372.8 kB / 1.18 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.94, allocations: 4 kB / 1.18 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.94, allocations: 0 / 1.18 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.94, allocations: 11.86 kB / 1.18 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.9404, allocations: 305.4 kB / 1.18 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.9404, allocations: 0 / 1.18 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.9408, allocations: 55.92 kB / 1.18 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.9408, allocations: 0 / 1.18 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.9408, allocations: 11.98 kB / 1.18 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.9408, allocations: 0 / 1.18 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9408, allocations: 0 / 1.18 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.9419, allocations: 451 kB / 1.181 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.9421, allocations: 124.9 kB / 1.181 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.9421, allocations: 4 kB / 1.181 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.9425, allocations: 35.95 kB / 1.181 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.9426, allocations: 23.97 kB / 1.181 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.9426, allocations: 11.92 kB / 1.181 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001719/0.9428, allocations: 187.1 kB / 1.181 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9428, allocations: 0 / 1.181 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003807/0.9432, allocations: 67.83 kB / 1.181 GB, free: 4.395 MB / 0.9044 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.0002455/0.9434, allocations: 135.1 kB / 1.181 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.9446, allocations: 331.6 kB / 1.182 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9446, allocations: 3.938 kB / 1.182 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005444/0.9452, allocations: 159.8 kB / 1.182 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.9456, allocations: 36.17 kB / 1.182 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.9468, allocations: 0.4895 MB / 1.182 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.9471, allocations: 0.7474 MB / 1.183 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002269/0.9474, allocations: 57.36 kB / 1.183 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.9475, allocations: 19.42 kB / 1.183 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of SimCode: time 5.41e-07/0.9475, allocations: 0 / 1.183 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of Templates: time 0.006634/0.9541, allocations: 3.3 MB / 1.186 GB, free: 15.1 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches