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.00196/0.00196, allocations: 104.5 kB / 16.45 MB, free: 6.449 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.002359/0.002359, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.073/3.073, allocations: 0.4899 GB / 0.7915 GB, free: 33.24 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.002259/0.002259, allocations: 77.27 kB / 1.149 GB, free: 26.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3124, allocations: 176.1 MB / 1.321 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00289/0.3153, allocations: 1.548 MB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001236/0.3154, allocations: 39.84 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.3155, allocations: 0 / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.3156, allocations: 11.86 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.474e-05/0.3156, allocations: 7.938 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.156e-05/0.3157, allocations: 19.92 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3158, allocations: 39.91 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.316, allocations: 31.91 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.916e-05/0.316, allocations: 27.92 kB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.3161, allocations: 31.84 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.3161, allocations: 4 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.3161, allocations: 4 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.3162, allocations: 19.92 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.3162, allocations: 27.8 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.3163, allocations: 59.69 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3163, allocations: 4 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.123e-06/0.3163, allocations: 0 / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3163, allocations: 0 / 1.323 GB, free: 0.9375 MB / 1.014 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.0004266/0.3168, allocations: 363.3 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3168, allocations: 11.98 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.3168, allocations: 12.89 kB / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.317, allocations: 188.2 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.317, allocations: 8.375 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.3171, allocations: 4.375 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.3172, allocations: 96.81 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3172, allocations: 4.188 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3173, allocations: 7.922 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3173, allocations: 0 / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.174e-05/0.3174, allocations: 43.92 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006282/0.318, allocations: 0.6362 MB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.058e-05/0.3181, allocations: 173.1 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.3181, allocations: 88.08 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.3181, allocations: 83.2 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.3182, allocations: 105.8 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3182, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.624e-05/0.3183, allocations: 41.59 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.3183, allocations: 126.7 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.3185, allocations: 164.7 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3185, allocations: 25.7 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.3186, allocations: 112 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/0.3186, allocations: 3.984 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.3186, allocations: 13.72 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3188, allocations: 326.8 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.3188, allocations: 11.94 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.3188, allocations: 18.58 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.362e-05/0.3189, allocations: 26.58 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3189, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001218/0.319, allocations: 61.58 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.319, allocations: 4 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.319, allocations: 4 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.319, allocations: 3.938 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.3191, allocations: 7.938 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3191, allocations: 0 / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.3191, allocations: 8 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.3191, allocations: 0 / 1.326 GB, free: 13.93 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.0001096/0.3192, allocations: 197.2 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/0.3193, allocations: 112.9 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.467e-05/0.3194, allocations: 116.7 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.998e-05/0.3194, allocations: 180.3 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.28e-05/0.3195, allocations: 180.2 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.638e-05/0.3196, allocations: 180.3 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.3199, allocations: 433.2 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-05/0.3199, allocations: 104.9 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.32, allocations: 101 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.221e-05/0.32, allocations: 180.3 kB / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-05/0.3201, allocations: 196.1 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.5e-05/0.3202, allocations: 180.5 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.876e-05/0.3203, allocations: 180.2 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.3204, allocations: 315.8 kB / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.3205, allocations: 190 kB / 1.328 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.469e-05/0.3206, allocations: 184.2 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-05/0.3207, allocations: 108.9 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.3208, allocations: 180.2 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.3208, allocations: 104.9 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001049/0.3209, allocations: 133.2 kB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3209, allocations: 0 / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000249/0.3212, allocations: 8 kB / 1.329 GB, free: 10.21 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.0001389/0.3213, allocations: 178.5 kB / 1.329 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.455e-05/0.3214, allocations: 12 kB / 1.329 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3214, allocations: 0 / 1.329 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-06/0.3214, allocations: 3.938 kB / 1.329 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.3218, allocations: 465 kB / 1.33 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.3221, allocations: 239.5 kB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3224, allocations: 0.6924 MB / 1.331 GB, free: 8.582 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.666e-05/0.3224, allocations: 4 kB / 1.331 GB, free: 8.578 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.3225, allocations: 11.44 kB / 1.331 GB, free: 8.566 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.3225, allocations: 0 / 1.331 GB, free: 8.566 MB / 1.029 GB Notification: Performance of Templates: time 0.002529/0.325, allocations: 440.5 kB / 1.331 GB, free: 8.137 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 -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/jenkins/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.378849359229207]