Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001602/0.001602, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001803/0.001803, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.303/3.303, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002132/0.002132, allocations: 71.61 kB / 1.186 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3317, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002843/0.3345, allocations: 1.549 MB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001129/0.3346, allocations: 31.91 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.3347, allocations: 3.938 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.3348, allocations: 7.922 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.419e-05/0.3348, allocations: 7.938 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.3349, allocations: 19.97 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.335, allocations: 47.84 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3351, allocations: 27.86 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.3352, allocations: 23.92 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.3352, allocations: 23.91 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.3352, allocations: 4 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.3353, allocations: 4 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.3353, allocations: 27.91 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.3354, allocations: 15.88 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.3355, allocations: 63.69 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3355, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3355, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3355, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 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.0003981/0.3359, allocations: 286.2 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.3359, allocations: 11.97 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.3359, allocations: 8.891 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.3361, allocations: 134.4 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-06/0.3361, allocations: 384 / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.3361, allocations: 8.375 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.3363, allocations: 104.7 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3363, allocations: 192 / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.3363, allocations: 11.94 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3363, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.489e-05/0.3364, allocations: 39.97 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.337, allocations: 0.5657 MB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.736e-05/0.3371, allocations: 169.1 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.3372, allocations: 80.14 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.3372, allocations: 75.28 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.3372, allocations: 109.8 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3372, allocations: 4 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.697e-05/0.3373, allocations: 33.59 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.3374, allocations: 134.6 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.3375, allocations: 125.8 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3376, allocations: 29.7 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.201e-05/0.3376, allocations: 107.9 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.3376, allocations: 0 / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.3377, allocations: 13.72 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3378, allocations: 318.8 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.3378, allocations: 3.984 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.3378, allocations: 26.58 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.893e-05/0.3379, allocations: 34.55 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3379, allocations: 0 / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001232/0.338, allocations: 57.58 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.338, allocations: 4 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.338, allocations: 0 / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.338, allocations: 0 / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.3381, allocations: 16.03 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3381, allocations: 0 / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.3381, allocations: 3.938 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.3381, allocations: 4 kB / 1.368 GB, free: 9.004 MB / 1.061 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.0001264/0.3383, allocations: 194.2 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.3384, allocations: 109 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.332e-05/0.3384, allocations: 108.4 kB / 1.368 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.104e-05/0.3385, allocations: 193.2 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.995e-05/0.3386, allocations: 180.2 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.668e-05/0.3387, allocations: 176.3 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.3389, allocations: 376.8 kB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.251e-05/0.339, allocations: 105 kB / 1.369 GB, free: 7.496 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.339, allocations: 116.8 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.253e-05/0.3391, allocations: 176.3 kB / 1.37 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.351e-05/0.3392, allocations: 176.3 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.742e-05/0.3393, allocations: 184.4 kB / 1.37 GB, free: 6.828 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.783e-05/0.3394, allocations: 180.2 kB / 1.37 GB, free: 6.645 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.3395, allocations: 319.7 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.3396, allocations: 101 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.965e-05/0.3397, allocations: 192.2 kB / 1.371 GB, free: 6.008 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.3398, allocations: 108.9 kB / 1.371 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/0.3399, allocations: 188.1 kB / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.3399, allocations: 101 kB / 1.371 GB, free: 5.598 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.448e-05/0.34, allocations: 103.6 kB / 1.371 GB, free: 5.496 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.34, allocations: 0 / 1.371 GB, free: 5.496 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002386/0.3402, allocations: 11.95 kB / 1.371 GB, free: 5.484 MB / 1.061 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.0001364/0.3404, allocations: 170.5 kB / 1.371 GB, free: 5.309 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.422e-05/0.3404, allocations: 7.938 kB / 1.371 GB, free: 5.301 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3405, allocations: 0 / 1.371 GB, free: 5.301 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.3405, allocations: 192 / 1.371 GB, free: 5.301 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.3409, allocations: 469.6 kB / 1.372 GB, free: 4.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.3412, allocations: 221.5 kB / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.545e-05/0.3413, allocations: 79.27 kB / 1.372 GB, free: 4.5 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.269e-05/0.3413, allocations: 3.984 kB / 1.372 GB, free: 4.496 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.3413, allocations: 11.44 kB / 1.372 GB, free: 4.484 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3413, allocations: 0 / 1.372 GB, free: 4.484 MB / 1.061 GB Notification: Performance of Templates: time 0.00229/0.3436, allocations: 292.8 kB / 1.373 GB, free: 4.199 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.640744915232062]