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.00156/0.00156, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001695/0.001695, allocations: 217.2 kB / 22.99 MB, free: 4.914 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.547/1.547, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.446/3.446, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 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.002133/0.002133, allocations: 66.42 kB / 1.187 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4373, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003816/0.4412, allocations: 1.552 MB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001367/0.4413, allocations: 35.84 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.4413, allocations: 4 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.4415, allocations: 11.86 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.4415, allocations: 7.938 kB / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.4416, allocations: 19.97 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.4417, allocations: 47.84 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.4419, allocations: 23.92 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.373e-05/0.4419, allocations: 19.92 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.442, allocations: 31.84 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.442, allocations: 7.984 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.881e-05/0.442, allocations: 7.938 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.4421, allocations: 15.92 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.4421, allocations: 23.88 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.4423, allocations: 55.75 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4423, allocations: 0 / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4423, allocations: 0 / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.4423, allocations: 4 kB / 1.366 GB, free: 11.71 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.0004614/0.4427, allocations: 290.1 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4428, allocations: 8.031 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.4428, allocations: 8.891 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.443, allocations: 130.4 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.443, allocations: 4.375 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.443, allocations: 8.375 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.4432, allocations: 100.8 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4432, allocations: 192 / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4432, allocations: 7.938 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4433, allocations: 4 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.89e-05/0.4433, allocations: 35.92 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.444, allocations: 0.5657 MB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.4441, allocations: 173.1 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.4441, allocations: 84.14 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.4442, allocations: 75.28 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.768e-05/0.4442, allocations: 105.8 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4442, allocations: 4 kB / 1.368 GB, free: 9.996 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.674e-05/0.4443, allocations: 33.66 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/0.4444, allocations: 134.6 kB / 1.368 GB, free: 9.812 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.4445, allocations: 125.8 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.4446, allocations: 25.7 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.4446, allocations: 111.9 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.4446, allocations: 0 / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.4447, allocations: 13.72 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4448, allocations: 318.8 kB / 1.369 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.4448, allocations: 4 kB / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.4449, allocations: 30.56 kB / 1.369 GB, free: 9.152 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.962e-05/0.4449, allocations: 30.55 kB / 1.369 GB, free: 9.113 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.4449, allocations: 0 / 1.369 GB, free: 9.113 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001261/0.445, allocations: 53.69 kB / 1.369 GB, free: 9.055 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4451, allocations: 13.86 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4451, allocations: 0 / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4451, allocations: 3.984 kB / 1.369 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.507e-05/0.4451, allocations: 16.03 kB / 1.369 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4452, allocations: 4 kB / 1.369 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.4452, allocations: 7.875 kB / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.4452, allocations: 0 / 1.369 GB, free: 9.012 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.0001253/0.4453, allocations: 193.1 kB / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.4454, allocations: 108.9 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.911e-05/0.4455, allocations: 108.5 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.374e-05/0.4456, allocations: 181.3 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-05/0.4456, allocations: 188.2 kB / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.564e-05/0.4457, allocations: 180.2 kB / 1.37 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.446, allocations: 372.8 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.208e-05/0.446, allocations: 105 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.4461, allocations: 101 kB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.235e-05/0.4462, allocations: 188.2 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/0.4463, allocations: 176.3 kB / 1.371 GB, free: 7.031 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001061/0.4464, allocations: 180.4 kB / 1.371 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.84e-05/0.4465, allocations: 184.2 kB / 1.371 GB, free: 6.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.4467, allocations: 315.7 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.102e-05/0.4467, allocations: 105 kB / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.4469, allocations: 188.2 kB / 1.372 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.447, allocations: 105 kB / 1.372 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.4471, allocations: 192.1 kB / 1.372 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.4471, allocations: 101 kB / 1.372 GB, free: 5.617 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.645e-05/0.4472, allocations: 99.27 kB / 1.372 GB, free: 5.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4472, allocations: 3.938 kB / 1.372 GB, free: 5.516 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002304/0.4474, allocations: 11.95 kB / 1.372 GB, free: 5.504 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.000157/0.4476, allocations: 166.5 kB / 1.372 GB, free: 5.332 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.772e-05/0.4477, allocations: 11.94 kB / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4477, allocations: 0 / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.4477, allocations: 4.188 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.4481, allocations: 459.7 kB / 1.373 GB, free: 4.863 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.4485, allocations: 251.2 kB / 1.373 GB, free: 4.586 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.673e-05/0.4486, allocations: 75.33 kB / 1.373 GB, free: 4.492 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.4486, allocations: 11.42 kB / 1.373 GB, free: 4.48 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.4486, allocations: 4 kB / 1.373 GB, free: 4.477 MB / 1.061 GB Notification: Performance of Templates: time 0.002403/0.451, allocations: 0.7021 MB / 1.374 GB, free: 3.777 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/jenkins1/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: 12.27910440415144]