Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001393/0.001393, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001496/0.001496, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.485/1.485, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.738/2.738, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_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.002065/0.002065, allocations: 65.61 kB / 1.118 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3832, allocations: 169.9 MB / 1.284 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003647/0.3869, allocations: 2.075 MB / 1.286 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005359/0.3922, allocations: 3.662 MB / 1.289 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.3924, allocations: 3.938 kB / 1.289 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.3927, allocations: 55.52 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.3931, allocations: 123.1 kB / 1.29 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.3936, allocations: 199.5 kB / 1.29 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.394, allocations: 326.8 kB / 1.29 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3941, allocations: 36.86 kB / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.3944, allocations: 139.5 kB / 1.29 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.3946, allocations: 143.3 kB / 1.29 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.3947, allocations: 20 kB / 1.29 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.3949, allocations: 123.8 kB / 1.291 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.395, allocations: 63.73 kB / 1.291 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.3951, allocations: 103.5 kB / 1.291 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.3956, allocations: 358.4 kB / 1.291 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3956, allocations: 3.938 kB / 1.291 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3956, allocations: 0 / 1.291 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3956, allocations: 0 / 1.291 GB, free: 12.28 MB / 0.9981 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.001342/0.397, allocations: 0.5862 MB / 1.292 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.397, allocations: 8.031 kB / 1.292 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.3984, allocations: 228.5 kB / 1.292 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008764/0.3993, allocations: 278.6 kB / 1.292 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.3993, allocations: 12.56 kB / 1.292 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.3993, allocations: 15.88 kB / 1.292 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.4, allocations: 221.5 kB / 1.292 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4, allocations: 0 / 1.292 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.4, allocations: 8 kB / 1.292 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.4001, allocations: 4 kB / 1.292 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.4011, allocations: 278.7 kB / 1.293 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.4024, allocations: 0.4922 MB / 1.293 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.403, allocations: 158.4 kB / 1.293 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.4035, allocations: 144.7 kB / 1.293 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006899/0.4042, allocations: 107.8 kB / 1.293 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.4042, allocations: 34.56 kB / 1.293 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.4042, allocations: 3.938 kB / 1.294 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.001762/0.406, allocations: 491.7 kB / 1.294 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.406, allocations: 55.41 kB / 1.294 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.4064, allocations: 272.6 kB / 1.294 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.4064, allocations: 33.7 kB / 1.294 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.4065, allocations: 156 kB / 1.294 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.4066, allocations: 43.62 kB / 1.295 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.446e-05/0.4067, allocations: 41.69 kB / 1.295 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4069, allocations: 346.8 kB / 1.295 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005343/0.4074, allocations: 143.9 kB / 1.295 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.4079, allocations: 150 kB / 1.295 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.409, allocations: 288.6 kB / 1.295 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.409, allocations: 0 / 1.295 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001189/0.4102, allocations: 375.2 kB / 1.296 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.4102, allocations: 11.98 kB / 1.296 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4102, allocations: 0 / 1.296 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.4102, allocations: 4 kB / 1.296 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/0.4107, allocations: 63.86 kB / 1.296 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4107, allocations: 0 / 1.296 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.411, allocations: 51.84 kB / 1.296 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.411, allocations: 7.984 kB / 1.296 GB, free: 7.082 MB / 0.9981 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.000163/0.4112, allocations: 129.8 kB / 1.296 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.4113, allocations: 31.8 kB / 1.296 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.4126, allocations: 384 kB / 1.296 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4126, allocations: 4 kB / 1.296 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4126, allocations: 3.938 kB / 1.296 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4126, allocations: 0 / 1.296 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.4129, allocations: 221.1 kB / 1.297 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4129, allocations: 0 / 1.297 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.4133, allocations: 59.92 kB / 1.297 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4133, allocations: 0 / 1.297 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.4133, allocations: 11.98 kB / 1.297 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4133, allocations: 0 / 1.297 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4133, allocations: 4 kB / 1.297 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.4146, allocations: 447 kB / 1.297 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.4147, allocations: 51.7 kB / 1.297 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.4147, allocations: 4 kB / 1.297 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.4151, allocations: 35.95 kB / 1.297 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.4152, allocations: 15.97 kB / 1.297 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.4152, allocations: 11.98 kB / 1.297 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002054/0.4154, allocations: 191.1 kB / 1.297 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4154, allocations: 0 / 1.297 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004059/0.4158, allocations: 75.81 kB / 1.298 GB, free: 5.371 MB / 0.9981 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.0002626/0.416, allocations: 131.1 kB / 1.298 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.4172, allocations: 327.6 kB / 1.298 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4172, allocations: 0 / 1.298 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.4178, allocations: 157.4 kB / 1.298 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.4182, allocations: 37.02 kB / 1.298 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.4195, allocations: 0.5326 MB / 1.299 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.4196, allocations: 142.4 kB / 1.299 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.4198, allocations: 35.34 kB / 1.299 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/0.4198, allocations: 0 / 1.299 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of Templates: time 0.007369/0.4272, allocations: 4.02 MB / 1.303 GB, free: 15.97 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.423390137962997]