Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001307/0.001307, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001477/0.001477, allocations: 222.6 kB / 23.01 MB, free: 5.086 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.335/1.335, allocations: 230.6 MB / 256.8 MB, free: 7.961 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 2.877/2.877, allocations: 0.49 GB / 0.7958 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] 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.EN12975SolarGain,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.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,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.EN12975SolarGain") [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.0019/0.0019, allocations: 74.67 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2862, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003274/0.2894, allocations: 2.109 MB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005123/0.2946, allocations: 4.242 MB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.2946, allocations: 7.938 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007017/0.2953, allocations: 195.1 kB / 1.334 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.2955, allocations: 67.41 kB / 1.334 GB, free: 10.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.2961, allocations: 307.2 kB / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005998/0.2967, allocations: 386.8 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2968, allocations: 40.56 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.297, allocations: 123.5 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.2972, allocations: 135.4 kB / 1.335 GB, free: 9.836 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.2972, allocations: 16 kB / 1.335 GB, free: 9.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005487/0.2978, allocations: 339.5 kB / 1.335 GB, free: 9.488 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.2979, allocations: 99.7 kB / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.298, allocations: 159 kB / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.2986, allocations: 0.5253 MB / 1.336 GB, free: 8.707 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2986, allocations: 0 / 1.336 GB, free: 8.707 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2986, allocations: 4 kB / 1.336 GB, free: 8.703 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2987, allocations: 0 / 1.336 GB, free: 8.703 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001293/0.2999, allocations: 0.6963 MB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.3, allocations: 16.03 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.3004, allocations: 84.61 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.301, allocations: 292.6 kB / 1.337 GB, free: 7.559 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.301, allocations: 12.38 kB / 1.337 GB, free: 7.547 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.301, allocations: 8.375 kB / 1.337 GB, free: 7.539 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.3015, allocations: 193.6 kB / 1.337 GB, free: 7.344 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3015, allocations: 0 / 1.337 GB, free: 7.344 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3016, allocations: 4 kB / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3016, allocations: 4 kB / 1.337 GB, free: 7.336 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006816/0.3022, allocations: 245.5 kB / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009765/0.3032, allocations: 0.5657 MB / 1.338 GB, free: 6.488 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.3036, allocations: 178.4 kB / 1.338 GB, free: 6.305 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.304, allocations: 124.8 kB / 1.338 GB, free: 6.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.856e-05/0.304, allocations: 19.97 kB / 1.338 GB, free: 6.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.3041, allocations: 34.56 kB / 1.338 GB, free: 6.117 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 4.529e-06/0.3041, allocations: 4 kB / 1.338 GB, free: 6.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001209/0.3053, allocations: 445.5 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.3053, allocations: 55.34 kB / 1.339 GB, free: 5.605 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.3057, allocations: 429.8 kB / 1.339 GB, free: 5.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3058, allocations: 25.7 kB / 1.339 GB, free: 5.148 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.3059, allocations: 180 kB / 1.339 GB, free: 4.969 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.306, allocations: 39.69 kB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/0.306, allocations: 41.69 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3062, allocations: 354.8 kB / 1.34 GB, free: 4.527 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.3066, allocations: 163.9 kB / 1.34 GB, free: 4.367 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.307, allocations: 177.2 kB / 1.34 GB, free: 4.195 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007534/0.3077, allocations: 352 kB / 1.34 GB, free: 3.844 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3077, allocations: 0 / 1.34 GB, free: 3.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009131/0.3086, allocations: 468.7 kB / 1.341 GB, free: 3.375 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.3087, allocations: 45.69 kB / 1.341 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3087, allocations: 4 kB / 1.341 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3087, allocations: 7.938 kB / 1.341 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.309, allocations: 43.94 kB / 1.341 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.309, allocations: 0 / 1.341 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.3092, allocations: 43.8 kB / 1.341 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3093, allocations: 7.984 kB / 1.341 GB, free: 3.219 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 (12): * Single equations (assignments): 11 * 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.0001562/0.3094, allocations: 157.8 kB / 1.341 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.3095, allocations: 39.72 kB / 1.341 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008598/0.3103, allocations: 349.2 kB / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3103, allocations: 0 / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3103, allocations: 0 / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3103, allocations: 7.938 kB / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.3107, allocations: 312.5 kB / 1.342 GB, free: 2.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3107, allocations: 0 / 1.342 GB, free: 2.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.311, allocations: 47.95 kB / 1.342 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.311, allocations: 0 / 1.342 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.311, allocations: 11.97 kB / 1.342 GB, free: 2.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.311, allocations: 0 / 1.342 GB, free: 2.254 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.311, allocations: 4 kB / 1.342 GB, free: 2.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008166/0.3118, allocations: 431 kB / 1.342 GB, free: 1.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.3119, allocations: 55.62 kB / 1.342 GB, free: 1.758 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.312, allocations: 8 kB / 1.342 GB, free: 1.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.3122, allocations: 19.97 kB / 1.342 GB, free: 1.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.3123, allocations: 19.91 kB / 1.342 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3123, allocations: 7.984 kB / 1.342 GB, free: 1.703 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002992/0.3126, allocations: 299.1 kB / 1.342 GB, free: 1.414 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3126, allocations: 0 / 1.342 GB, free: 1.414 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004168/0.313, allocations: 119.8 kB / 1.343 GB, free: 1.297 MB / 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 (11): * Single equations (assignments): 11 * 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.0003105/0.3133, allocations: 171.1 kB / 1.343 GB, free: 1.121 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000988/0.3143, allocations: 470.9 kB / 1.343 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3143, allocations: 0 / 1.343 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.3147, allocations: 139.8 kB / 1.343 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.3152, allocations: 53.61 kB / 1.343 GB, free: 468 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3163, allocations: 0.6861 MB / 1.344 GB, free: 15.74 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.3167, allocations: 0.7866 MB / 1.345 GB, free: 14.93 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3168, allocations: 27.41 kB / 1.345 GB, free: 14.9 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.3168, allocations: 4 kB / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of Templates: time 0.00747/0.3243, allocations: 4.918 MB / 1.35 GB, free: 10.01 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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: 10.601376926002558]