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.00143/0.00143, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.001818/0.001818, allocations: 207.8 kB / 22.99 MB, free: 4.957 MB / 14.72 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.302/3.302, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 65.06 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4059, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003826/0.4097, allocations: 2.097 MB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005917/0.4156, allocations: 3.927 MB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.4158, allocations: 7.938 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000871/0.4166, allocations: 175.1 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.4168, allocations: 83.28 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008337/0.4177, allocations: 331.2 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007181/0.4184, allocations: 446.6 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.4185, allocations: 44.89 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.4187, allocations: 147.5 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.419, allocations: 163.3 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.419, allocations: 20 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.4196, allocations: 343.5 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.4198, allocations: 119.6 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.4199, allocations: 135.2 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007585/0.4207, allocations: 0.5876 MB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4207, allocations: 3.938 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4207, allocations: 0 / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.4207, allocations: 4 kB / 1.335 GB, free: 8.324 MB / 1.029 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.001654/0.4224, allocations: 0.7469 MB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4224, allocations: 12.03 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.4238, allocations: 236.4 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.4249, allocations: 352.7 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.4249, allocations: 12.55 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.4249, allocations: 11.94 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007296/0.4256, allocations: 254.3 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4257, allocations: 0 / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.4257, allocations: 8 kB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4257, allocations: 0 / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.4268, allocations: 335.6 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.4282, allocations: 0.5782 MB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.4288, allocations: 214.4 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000532/0.4294, allocations: 180.7 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.4294, allocations: 15.98 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.4295, allocations: 38.5 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.4295, allocations: 0 / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.001804/0.4313, allocations: 0.5654 MB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.4313, allocations: 55.41 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005147/0.4318, allocations: 445.9 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.4319, allocations: 29.7 kB / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.432, allocations: 196.5 kB / 1.34 GB, free: 3.926 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.4321, allocations: 39.61 kB / 1.34 GB, free: 3.887 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.4322, allocations: 61.67 kB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4324, allocations: 354.7 kB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006811/0.4331, allocations: 333.7 kB / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.4337, allocations: 338.7 kB / 1.341 GB, free: 2.797 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.435, allocations: 0.5198 MB / 1.341 GB, free: 2.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.435, allocations: 4 kB / 1.341 GB, free: 2.266 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00155/0.4365, allocations: 0.7626 MB / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/0.4366, allocations: 45.69 kB / 1.342 GB, free: 1.434 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.4366, allocations: 0 / 1.342 GB, free: 1.434 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.4366, allocations: 0 / 1.342 GB, free: 1.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.437, allocations: 67.86 kB / 1.342 GB, free: 1.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.437, allocations: 0 / 1.342 GB, free: 1.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.4374, allocations: 63.72 kB / 1.342 GB, free: 1.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.4374, allocations: 11.94 kB / 1.342 GB, free: 1.293 MB / 1.029 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.0001829/0.4376, allocations: 166.3 kB / 1.342 GB, free: 1.121 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.4377, allocations: 39.72 kB / 1.342 GB, free: 1.082 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.4389, allocations: 448.7 kB / 1.343 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4389, allocations: 0 / 1.343 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.439, allocations: 4 kB / 1.343 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.439, allocations: 0 / 1.343 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.4393, allocations: 285 kB / 1.343 GB, free: 332 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4393, allocations: 0 / 1.343 GB, free: 332 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.4397, allocations: 55.92 kB / 1.343 GB, free: 276 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4397, allocations: 8 kB / 1.343 GB, free: 268 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.4398, allocations: 7.984 kB / 1.343 GB, free: 260 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4398, allocations: 0 / 1.343 GB, free: 260 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4398, allocations: 0 / 1.343 GB, free: 260 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.441, allocations: 0.5005 MB / 1.344 GB, free: 15.74 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.4411, allocations: 63.62 kB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.4412, allocations: 3.984 kB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.4415, allocations: 35.95 kB / 1.344 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.4416, allocations: 23.97 kB / 1.344 GB, free: 15.61 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.4416, allocations: 7.984 kB / 1.344 GB, free: 15.61 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003364/0.442, allocations: 307.1 kB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.442, allocations: 0 / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000555/0.4425, allocations: 131.8 kB / 1.344 GB, free: 15.18 MB / 1.045 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.0003301/0.4429, allocations: 171.1 kB / 1.344 GB, free: 15.01 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.4442, allocations: 0.6393 MB / 1.345 GB, free: 14.35 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4442, allocations: 3.938 kB / 1.345 GB, free: 14.35 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005395/0.4448, allocations: 178.8 kB / 1.345 GB, free: 14.18 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.4453, allocations: 74.95 kB / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.4466, allocations: 0.7174 MB / 1.346 GB, free: 13.36 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.4468, allocations: 187.5 kB / 1.346 GB, free: 13.15 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.4471, allocations: 57.92 kB / 1.346 GB, free: 13.1 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.4472, allocations: 31.41 kB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.4472, allocations: 0 / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of Templates: time 0.0115/0.4587, allocations: 6.204 MB / 1.352 GB, free: 6.934 MB / 1.045 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 -s cvode -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/jenkins1/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: 9.611268442997243]