Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001366/0.001366, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00153/0.00153, allocations: 213.8 kB / 22.25 MB, free: 5.262 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.773 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.799/2.799, allocations: 475.9 MB / 0.7699 GB, free: 4.777 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.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_11_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_11_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.002129/0.002129, allocations: 64.23 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2997, allocations: 170 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002828/0.3026, allocations: 1.547 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001204/0.3027, allocations: 31.84 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.3027, allocations: 3.938 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.3028, allocations: 11.94 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.686e-05/0.3029, allocations: 7.922 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.633e-05/0.303, allocations: 15.98 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.3031, allocations: 43.84 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3032, allocations: 23.92 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.3032, allocations: 27.86 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.3033, allocations: 27.89 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3033, allocations: 8 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.3033, allocations: 8 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.3034, allocations: 15.92 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.3034, allocations: 19.88 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.3035, allocations: 59.73 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3035, allocations: 3.938 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3035, allocations: 3.938 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3035, allocations: 0 / 1.285 GB, free: 10.05 MB / 0.9825 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.0004008/0.3039, allocations: 282.2 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.304, allocations: 12.03 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.304, allocations: 16.89 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.3042, allocations: 130.3 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3042, allocations: 8.375 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.3042, allocations: 4.375 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3044, allocations: 104 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3044, allocations: 192 / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3044, allocations: 7.875 kB / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3044, allocations: 0 / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3045, allocations: 43.97 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.3051, allocations: 0.5657 MB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3052, allocations: 173.1 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.3052, allocations: 84.14 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/0.3053, allocations: 75.28 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.3053, allocations: 105.8 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3054, allocations: 0 / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.21e-05/0.3054, allocations: 39.5 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/0.3055, allocations: 134.6 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.3056, allocations: 121.8 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3057, allocations: 25.7 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.3057, allocations: 111.9 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.3057, allocations: 4 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.3058, allocations: 17.67 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3059, allocations: 318.8 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.3059, allocations: 8 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.306, allocations: 22.56 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.306, allocations: 26.52 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.306, allocations: 0 / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001238/0.3062, allocations: 57.62 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3062, allocations: 4 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3062, allocations: 4 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3062, allocations: 0 / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.033e-05/0.3062, allocations: 7.938 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3062, allocations: 0 / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.369e-05/0.3063, allocations: 11.94 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.3063, allocations: 0 / 1.287 GB, free: 7.359 MB / 0.9825 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.0001219/0.3064, allocations: 189.1 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.3065, allocations: 116.9 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.923e-05/0.3066, allocations: 120.5 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.6e-05/0.3066, allocations: 184.2 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.953e-05/0.3067, allocations: 180.2 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.95e-05/0.3068, allocations: 180.3 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.3071, allocations: 372.8 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.685e-05/0.3071, allocations: 105 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.3072, allocations: 101 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-05/0.3072, allocations: 184.2 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.979e-05/0.3073, allocations: 180.3 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.373e-05/0.3074, allocations: 180.2 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.658e-05/0.3075, allocations: 184.2 kB / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.3077, allocations: 312 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.3077, allocations: 108.9 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.383e-05/0.3078, allocations: 188.2 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.3079, allocations: 101 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.308, allocations: 188.1 kB / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.3081, allocations: 116.9 kB / 1.29 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.509e-05/0.3081, allocations: 95.27 kB / 1.29 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3081, allocations: 0 / 1.29 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002446/0.3084, allocations: 4 kB / 1.29 GB, free: 3.855 MB / 0.9825 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.0001396/0.3085, allocations: 174.5 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.202e-05/0.3086, allocations: 19.92 kB / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3086, allocations: 0 / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.3086, allocations: 0 / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.309, allocations: 459.7 kB / 1.291 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.3093, allocations: 217.5 kB / 1.291 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.096e-05/0.3094, allocations: 79.31 kB / 1.291 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.2e-05/0.3094, allocations: 192 / 1.291 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.3095, allocations: 11.44 kB / 1.291 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3095, allocations: 0 / 1.291 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of Templates: time 0.002473/0.3119, allocations: 306.5 kB / 1.292 GB, free: 2.559 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.386567234992981]