Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.001879/0.001879, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002282/0.002282, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.152/3.152, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [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.003268/0.003268, allocations: 79.55 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2995, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002908/0.3025, allocations: 1.548 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.000119/0.3026, allocations: 35.84 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.3026, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.3027, allocations: 11.86 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.677e-05/0.3028, allocations: 3.938 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.3029, allocations: 19.98 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.303, allocations: 47.84 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3031, allocations: 23.92 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.039e-05/0.3032, allocations: 31.91 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.3032, allocations: 23.91 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.3032, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.3032, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.3033, allocations: 23.92 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.3033, allocations: 23.8 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.3034, allocations: 59.69 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3035, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3035, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3035, allocations: 0 / 1.329 GB, free: 15.14 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005032/0.304, allocations: 290.2 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.304, allocations: 8.031 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.304, allocations: 8.891 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.3042, allocations: 134.4 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3042, allocations: 4.359 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3042, allocations: 8.375 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3044, allocations: 99.19 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3044, allocations: 192 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3045, allocations: 11.94 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3045, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.3046, allocations: 51.91 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.3052, allocations: 0.5618 MB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.654e-05/0.3053, allocations: 169.1 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/0.3053, allocations: 84.08 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.3054, allocations: 75.28 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.842e-05/0.3054, allocations: 113.8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3054, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 6.574e-05/0.3055, allocations: 29.64 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.3056, allocations: 134.6 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3057, allocations: 125.8 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3057, allocations: 29.7 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.3058, allocations: 107.9 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.3058, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.3058, allocations: 17.66 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.306, allocations: 318.8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.306, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.84e-05/0.306, allocations: 26.52 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.563e-05/0.3061, allocations: 30.61 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3061, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000114/0.3062, allocations: 57.62 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3062, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3062, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3062, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.3063, allocations: 15.88 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3063, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.318e-05/0.3063, allocations: 7.922 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.3063, allocations: 4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001135/0.3065, allocations: 189.8 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.1e-05/0.3065, allocations: 112.9 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.538e-05/0.3066, allocations: 112.4 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.65e-05/0.3067, allocations: 188.2 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.591e-05/0.3068, allocations: 180.2 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.003e-05/0.3068, allocations: 176.3 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.3071, allocations: 372.8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.452e-05/0.3072, allocations: 104.9 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.3072, allocations: 105 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.763e-05/0.3073, allocations: 180.2 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.163e-05/0.3074, allocations: 176.3 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.779e-05/0.3075, allocations: 188.5 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.051e-05/0.3076, allocations: 188.1 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.3078, allocations: 307.7 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.3078, allocations: 116.9 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.3079, allocations: 184.3 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-05/0.308, allocations: 104.9 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-05/0.3081, allocations: 184.2 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.3082, allocations: 104.9 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.832e-05/0.3082, allocations: 99.7 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3082, allocations: 0 / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000236/0.3085, allocations: 8 kB / 1.335 GB, free: 8.93 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 (0): * Single equations (assignments): 0 * 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.0001749/0.3086, allocations: 178.5 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.101e-05/0.3087, allocations: 4 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3087, allocations: 0 / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.863e-06/0.3087, allocations: 11.94 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.3091, allocations: 453.7 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.3095, allocations: 237.4 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.776e-05/0.3096, allocations: 83.59 kB / 1.335 GB, free: 7.926 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.518e-05/0.3096, allocations: 4 kB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.3096, allocations: 7.438 kB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3096, allocations: 0 / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of Templates: time 0.002453/0.3121, allocations: 312.4 kB / 1.336 GB, free: 7.609 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.362927875990863]