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.001761/0.001761, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001994/0.001994, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.396/2.396, allocations: 437 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.12 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7096/0.7108, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003079/0.7139, allocations: 2.149 MB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00421/0.7181, allocations: 3.79 MB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.835e-05/0.7182, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.7186, allocations: 71.22 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.7189, allocations: 115.2 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.7193, allocations: 155.6 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.7197, allocations: 314.9 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.7198, allocations: 60.56 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.72, allocations: 131.5 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.7202, allocations: 151.3 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.7203, allocations: 24 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.7205, allocations: 131.8 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.633e-05/0.7206, allocations: 55.83 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.7207, allocations: 123.2 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.7211, allocations: 340.7 kB / 1.175 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7211, allocations: 3.984 kB / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7211, allocations: 0 / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.7211, allocations: 0 / 1.175 GB, free: 12.19 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.001235/0.7224, allocations: 0.6346 MB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.7224, allocations: 8.625 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009658/0.7234, allocations: 168.4 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006829/0.7241, allocations: 320.3 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.7241, allocations: 8.562 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.7242, allocations: 15.94 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/0.7248, allocations: 226.5 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.7248, allocations: 0 / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.7249, allocations: 4 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.7249, allocations: 4 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.7259, allocations: 287.6 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.7272, allocations: 0.5784 MB / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.7277, allocations: 170.4 kB / 1.177 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.7282, allocations: 152.7 kB / 1.177 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008211/0.7291, allocations: 0.5496 MB / 1.178 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.7291, allocations: 38.5 kB / 1.178 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.7291, allocations: 0 / 1.178 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.00169/0.7308, allocations: 494.2 kB / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.7309, allocations: 51.41 kB / 1.178 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.7311, allocations: 260.6 kB / 1.179 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.7311, allocations: 25.7 kB / 1.179 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.7312, allocations: 159.9 kB / 1.179 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.7313, allocations: 39.38 kB / 1.179 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.7314, allocations: 41.69 kB / 1.179 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.7315, allocations: 334.8 kB / 1.179 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.732, allocations: 147.9 kB / 1.179 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.7325, allocations: 151.8 kB / 1.179 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009965/0.7335, allocations: 295 kB / 1.18 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7335, allocations: 4 kB / 1.18 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00116/0.7347, allocations: 365 kB / 1.18 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7347, allocations: 4 kB / 1.18 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7348, allocations: 4 kB / 1.18 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.7348, allocations: 0 / 1.18 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.7352, allocations: 71.84 kB / 1.18 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.7353, allocations: 4 kB / 1.18 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.7356, allocations: 43.8 kB / 1.18 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.7356, allocations: 11.92 kB / 1.18 GB, free: 6.27 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.0001355/0.7358, allocations: 125.8 kB / 1.18 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.7358, allocations: 31.62 kB / 1.18 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.7371, allocations: 392.7 kB / 1.181 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.7371, allocations: 0 / 1.181 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7371, allocations: 4 kB / 1.181 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.7372, allocations: 116.7 kB / 1.181 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.7373, allocations: 11.94 kB / 1.181 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.7377, allocations: 39.94 kB / 1.181 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.7378, allocations: 11.98 kB / 1.181 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00145/0.7392, allocations: 444.6 kB / 1.181 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001175/0.7404, allocations: 0.5108 MB / 1.182 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005236/0.7409, allocations: 160.7 kB / 1.182 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001515/0.7411, allocations: 187.1 kB / 1.182 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of Backend: time 6.11e-07/0.7411, allocations: 0 / 1.182 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.7422, allocations: 296.7 kB / 1.182 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009801/0.7432, allocations: 0.8634 MB / 1.183 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of Templates: time 0.008035/0.7512, allocations: 4.536 MB / 1.188 GB, free: 14.51 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/jenkins1/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