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.001586/0.001586, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001514/0.001514, allocations: 219.5 kB / 22.99 MB, free: 4.914 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.372/3.372, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 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.002108/0.002108, allocations: 62.94 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3711, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004697/0.3758, allocations: 2.111 MB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007077/0.3829, allocations: 3.931 MB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002775/0.3832, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.3842, allocations: 175.1 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.3846, allocations: 83.28 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.3857, allocations: 333.2 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008779/0.3866, allocations: 450.6 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.3868, allocations: 44.89 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.387, allocations: 147.5 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.3872, allocations: 147.3 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.3873, allocations: 20 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006787/0.3879, allocations: 327.5 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.3881, allocations: 111.6 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.3883, allocations: 147.1 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008169/0.3891, allocations: 0.5798 MB / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3891, allocations: 3.938 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3891, allocations: 0 / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.3891, allocations: 4 kB / 1.335 GB, free: 9.312 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.001524/0.3906, allocations: 0.747 MB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3907, allocations: 12.03 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.392, allocations: 236.4 kB / 1.336 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.3931, allocations: 352.7 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3932, allocations: 8.562 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.3932, allocations: 19.88 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007334/0.3939, allocations: 251.1 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.394, allocations: 0 / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.394, allocations: 4 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.394, allocations: 4 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.3951, allocations: 331.6 kB / 1.337 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.3966, allocations: 0.586 MB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.3973, allocations: 206.4 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.3978, allocations: 176.7 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-05/0.3979, allocations: 19.98 kB / 1.338 GB, free: 6.285 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.3979, allocations: 38.5 kB / 1.338 GB, free: 6.238 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.3979, allocations: 0 / 1.338 GB, free: 6.238 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.001829/0.3997, allocations: 0.5709 MB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.3998, allocations: 51.41 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/0.4005, allocations: 445.9 kB / 1.339 GB, free: 5.152 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.4005, allocations: 29.7 kB / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.4007, allocations: 192.5 kB / 1.339 GB, free: 4.922 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.4007, allocations: 51.59 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.4008, allocations: 57.61 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.401, allocations: 354.7 kB / 1.339 GB, free: 4.453 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006974/0.4017, allocations: 329.7 kB / 1.34 GB, free: 4.125 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007088/0.4024, allocations: 342 kB / 1.34 GB, free: 3.785 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.4037, allocations: 0.5196 MB / 1.34 GB, free: 3.258 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4037, allocations: 0 / 1.34 GB, free: 3.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001597/0.4053, allocations: 0.7704 MB / 1.341 GB, free: 2.469 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/0.4054, allocations: 41.69 kB / 1.341 GB, free: 2.422 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4054, allocations: 0 / 1.341 GB, free: 2.422 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4054, allocations: 3.938 kB / 1.341 GB, free: 2.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.4059, allocations: 75.86 kB / 1.341 GB, free: 2.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4059, allocations: 0 / 1.341 GB, free: 2.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.4063, allocations: 59.72 kB / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.4063, allocations: 8 kB / 1.341 GB, free: 2.277 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.0001988/0.4065, allocations: 162.3 kB / 1.341 GB, free: 2.109 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.4066, allocations: 43.7 kB / 1.342 GB, free: 2.066 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.4079, allocations: 444.8 kB / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.4079, allocations: 4 kB / 1.342 GB, free: 1.621 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4079, allocations: 0 / 1.342 GB, free: 1.621 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4079, allocations: 3.984 kB / 1.342 GB, free: 1.617 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.4083, allocations: 281 kB / 1.342 GB, free: 1.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4083, allocations: 4 kB / 1.342 GB, free: 1.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.4087, allocations: 63.92 kB / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4087, allocations: 0 / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.4087, allocations: 3.984 kB / 1.342 GB, free: 1.242 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4088, allocations: 4 kB / 1.342 GB, free: 1.238 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4088, allocations: 0 / 1.342 GB, free: 1.238 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.41, allocations: 0.4989 MB / 1.343 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.4102, allocations: 63.62 kB / 1.343 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.4102, allocations: 0 / 1.343 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.4106, allocations: 43.94 kB / 1.343 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.4106, allocations: 15.97 kB / 1.343 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.4107, allocations: 7.984 kB / 1.343 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003686/0.411, allocations: 311.1 kB / 1.343 GB, free: 304 kB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.411, allocations: 0 / 1.343 GB, free: 304 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005431/0.4116, allocations: 135.8 kB / 1.343 GB, free: 168 kB / 1.029 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.0004219/0.412, allocations: 175.1 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.4136, allocations: 0.6294 MB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4136, allocations: 0 / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.4142, allocations: 183.8 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.4147, allocations: 68.14 kB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.4164, allocations: 0.7476 MB / 1.345 GB, free: 14.31 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.4167, allocations: 195.5 kB / 1.345 GB, free: 14.1 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.4168, allocations: 35.41 kB / 1.345 GB, free: 14.06 MB / 1.045 GB Notification: Performance of SimCode: time 6.91e-07/0.4168, allocations: 0 / 1.345 GB, free: 14.06 MB / 1.045 GB Notification: Performance of Templates: time 0.009825/0.4267, allocations: 5.79 MB / 1.351 GB, free: 8.305 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 -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: 12.335807336028665]