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.002238/0.002238, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.0027/0.0027, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.54/1.54, allocations: 177.1 MB / 203.9 MB, free: 5.574 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 2.844/2.844, allocations: 377.8 MB / 0.6232 GB, free: 8.523 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.863e-06/1.863e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.646e-05/3.832e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00457/0.004609, allocations: 2.109 MB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.007347/0.01196, allocations: 3.92 MB / 0.8167 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.0122, allocations: 7.938 kB / 0.8167 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.0133, allocations: 177.5 kB / 0.8169 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.01365, allocations: 88.84 kB / 0.817 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.01485, allocations: 335 kB / 0.8173 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.01588, allocations: 468 kB / 0.8177 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.01605, allocations: 36.92 kB / 0.8178 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004399/0.01649, allocations: 180.9 kB / 0.8179 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.0168, allocations: 131.5 kB / 0.8181 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.018e-05/0.01687, allocations: 20.84 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000793/0.01766, allocations: 328.6 kB / 0.8184 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.01787, allocations: 123.6 kB / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.01806, allocations: 103.7 kB / 0.8186 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.01933, allocations: 0.6464 MB / 0.8192 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.01933, allocations: 1.375 kB / 0.8192 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.954e-06/0.01933, allocations: 0 / 0.8192 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.01935, allocations: 0 / 0.8192 GB, free: 9.453 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.002105/0.02145, allocations: 0.7357 MB / 0.82 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.0215, allocations: 8.031 kB / 0.82 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.02311, allocations: 260 kB / 0.8202 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.02438, allocations: 354.7 kB / 0.8206 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.0244, allocations: 8.562 kB / 0.8206 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.02444, allocations: 12.38 kB / 0.8206 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/0.02525, allocations: 250.8 kB / 0.8208 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.02526, allocations: 0 / 0.8208 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.02529, allocations: 1.5 kB / 0.8208 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.0253, allocations: 4 kB / 0.8208 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.02643, allocations: 328.8 kB / 0.8211 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.02821, allocations: 0.5937 MB / 0.8217 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006915/0.02891, allocations: 214.4 kB / 0.8219 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/0.02949, allocations: 176.7 kB / 0.8221 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.608e-05/0.02956, allocations: 19.98 kB / 0.8221 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.02962, allocations: 34.56 kB / 0.8221 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.02962, allocations: 0 / 0.8221 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.002068/0.03169, allocations: 0.5676 MB / 0.8227 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.03174, allocations: 55.41 kB / 0.8227 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/0.03239, allocations: 449.8 kB / 0.8232 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.03244, allocations: 29.7 kB / 0.8232 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.03267, allocations: 196.5 kB / 0.8234 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/0.03275, allocations: 43.59 kB / 0.8234 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.0329, allocations: 53.67 kB / 0.8235 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000269/0.03317, allocations: 346.8 kB / 0.8238 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008094/0.03398, allocations: 341.7 kB / 0.8241 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007802/0.03476, allocations: 338 kB / 0.8245 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.03615, allocations: 0.5168 MB / 0.825 GB, free: 3.438 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.03615, allocations: 0 / 0.825 GB, free: 3.438 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001953/0.03811, allocations: 0.7713 MB / 0.8257 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.184e-05/0.03819, allocations: 45.69 kB / 0.8258 GB, free: 2.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.0382, allocations: 4 kB / 0.8258 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/0.03823, allocations: 4 kB / 0.8258 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.03875, allocations: 63.86 kB / 0.8258 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.03876, allocations: 4 kB / 0.8258 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.0392, allocations: 59.78 kB / 0.8259 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.03924, allocations: 4 kB / 0.8259 GB, free: 2.461 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.0002867/0.03952, allocations: 161.7 kB / 0.826 GB, free: 2.293 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.03964, allocations: 43.77 kB / 0.8261 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.04113, allocations: 442.7 kB / 0.8265 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.04113, allocations: 4 kB / 0.8265 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.04114, allocations: 0 / 0.8265 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.04115, allocations: 0 / 0.8265 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.04166, allocations: 289 kB / 0.8268 GB, free: 1.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.04166, allocations: 0 / 0.8268 GB, free: 1.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.04208, allocations: 55.92 kB / 0.8268 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.04208, allocations: 0 / 0.8268 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.04212, allocations: 11.98 kB / 0.8269 GB, free: 1.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.04212, allocations: 4 kB / 0.8269 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.04212, allocations: 0 / 0.8269 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.0437, allocations: 0.5144 MB / 0.8274 GB, free: 0.8945 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.04388, allocations: 59.69 kB / 0.8274 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.04393, allocations: 0 / 0.8274 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.04432, allocations: 39.94 kB / 0.8275 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.04443, allocations: 23.95 kB / 0.8275 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.04445, allocations: 7.984 kB / 0.8275 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004204/0.04487, allocations: 311.1 kB / 0.8278 GB, free: 472 kB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.04487, allocations: 0 / 0.8278 GB, free: 472 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006042/0.04548, allocations: 127.8 kB / 0.8279 GB, free: 344 kB / 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.0005407/0.04602, allocations: 190.9 kB / 0.8281 GB, free: 140 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001655/0.04767, allocations: 0.6179 MB / 0.8287 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.04768, allocations: 4 kB / 0.8287 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000623/0.0483, allocations: 190.8 kB / 0.8289 GB, free: 15.31 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.04884, allocations: 84.19 kB / 0.829 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.0505, allocations: 0.6851 MB / 0.8296 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.05075, allocations: 195.5 kB / 0.8298 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002775/0.05102, allocations: 53.91 kB / 0.8299 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.05116, allocations: 32.48 kB / 0.8299 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of SimCode: time 9.72e-07/0.05116, allocations: 0 / 0.8299 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of Templates: time 0.01386/0.06502, allocations: 5.703 MB / 0.8355 GB, free: 8.621 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] 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.215405146009289]