Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002529/0.002529, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002845/0.002845, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.614/1.614, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.134/3.134, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.845e-05, allocations: 7.5 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003831/0.003859, allocations: 2.183 MB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006602/0.01046, allocations: 4.205 MB / 0.817 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.01058, allocations: 7.938 kB / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008361/0.01142, allocations: 163.1 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.01161, allocations: 89.75 kB / 0.8173 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.01242, allocations: 347.2 kB / 0.8176 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007578/0.01317, allocations: 456 kB / 0.8181 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.0133, allocations: 36.91 kB / 0.8181 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.01358, allocations: 187.6 kB / 0.8183 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.01382, allocations: 129.4 kB / 0.8184 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.697e-05/0.01387, allocations: 20 kB / 0.8184 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006274/0.0145, allocations: 331.1 kB / 0.8187 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.01466, allocations: 127.6 kB / 0.8189 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.01484, allocations: 103.7 kB / 0.819 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000925/0.01576, allocations: 0.6387 MB / 0.8196 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.01577, allocations: 0 / 0.8196 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.423e-06/0.01577, allocations: 3.938 kB / 0.8196 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.01577, allocations: 0 / 0.8196 GB, free: 9.145 MB / 0.7761 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.00157/0.01734, allocations: 0.8366 MB / 0.8204 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.01738, allocations: 8.031 kB / 0.8204 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.01859, allocations: 200.7 kB / 0.8206 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007933/0.01939, allocations: 326.9 kB / 0.8209 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.0194, allocations: 4.562 kB / 0.8209 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.01944, allocations: 12.38 kB / 0.8209 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.01997, allocations: 189.8 kB / 0.8211 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.01998, allocations: 1.75 kB / 0.8211 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.02, allocations: 4 kB / 0.8211 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.02, allocations: 0 / 0.8211 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007231/0.02073, allocations: 210.1 kB / 0.8213 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.02243, allocations: 0.6203 MB / 0.8219 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.02286, allocations: 135 kB / 0.822 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.02322, allocations: 111.6 kB / 0.8222 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.656e-05/0.02329, allocations: 19.98 kB / 0.8222 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.02333, allocations: 37.39 kB / 0.8222 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.02333, allocations: 0 / 0.8222 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.001343/0.02467, allocations: 401.4 kB / 0.8226 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.02472, allocations: 55.41 kB / 0.8226 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/0.02533, allocations: 0.4987 MB / 0.8231 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.02537, allocations: 29.7 kB / 0.8232 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.02561, allocations: 267.2 kB / 0.8234 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.02567, allocations: 47.64 kB / 0.8235 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.02581, allocations: 63.34 kB / 0.8235 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003378/0.02614, allocations: 0.5391 MB / 0.824 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/0.02657, allocations: 153.9 kB / 0.8242 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004121/0.02699, allocations: 167.3 kB / 0.8244 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007939/0.02778, allocations: 299 kB / 0.8246 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.02778, allocations: 3.938 kB / 0.8246 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001038/0.02882, allocations: 440.9 kB / 0.8251 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/0.02888, allocations: 41.69 kB / 0.8251 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.02889, allocations: 4 kB / 0.8251 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.0289, allocations: 0 / 0.8251 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.02929, allocations: 51.94 kB / 0.8252 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.0293, allocations: 4 kB / 0.8252 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.02963, allocations: 35.83 kB / 0.8252 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.02967, allocations: 11.92 kB / 0.8252 GB, free: 3.16 MB / 0.7761 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0002302/0.0299, allocations: 180.5 kB / 0.8254 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.03004, allocations: 39.77 kB / 0.8254 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.03104, allocations: 314 kB / 0.8257 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.03105, allocations: 7.938 kB / 0.8257 GB, free: 2.617 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.03106, allocations: 4 kB / 0.8257 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.03106, allocations: 3.938 kB / 0.8257 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.03152, allocations: 304.4 kB / 0.826 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.03152, allocations: 4 kB / 0.826 GB, free: 2.273 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.03184, allocations: 43.95 kB / 0.8261 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.03184, allocations: 0 / 0.8261 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.03187, allocations: 7.984 kB / 0.8261 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.03187, allocations: 0 / 0.8261 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.03187, allocations: 4 kB / 0.8261 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009619/0.03283, allocations: 448.9 kB / 0.8265 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.033, allocations: 67.67 kB / 0.8266 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.03305, allocations: 0 / 0.8266 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.03332, allocations: 19.98 kB / 0.8266 GB, free: 1.676 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.03343, allocations: 23.95 kB / 0.8266 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.03345, allocations: 0 / 0.8266 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004098/0.03386, allocations: 327 kB / 0.8269 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.03386, allocations: 4 kB / 0.8269 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005916/0.03445, allocations: 131.8 kB / 0.8271 GB, free: 1.199 MB / 0.7761 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.0004874/0.03493, allocations: 187 kB / 0.8272 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.03602, allocations: 399.4 kB / 0.8276 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.03602, allocations: 4 kB / 0.8276 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.03646, allocations: 143.5 kB / 0.8278 GB, free: 460 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.03698, allocations: 76.09 kB / 0.8278 GB, free: 384 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.03831, allocations: 0.619 MB / 0.8284 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.03853, allocations: 187.4 kB / 0.8286 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002426/0.03877, allocations: 53.91 kB / 0.8287 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.03921, allocations: 36.47 kB / 0.8287 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of SimCode: time 7.51e-07/0.03921, allocations: 0 / 0.8287 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of Templates: time 0.01271/0.05192, allocations: 5.715 MB / 0.8343 GB, free: 9.809 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.786439728923142]