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.001653/0.001653, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001912/0.001912, allocations: 158.2 kB / 22.45 MB, free: 5.375 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.457/1.457, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.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 2.919/2.919, allocations: 389 MB / 0.633 GB, free: 1.027 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.335e-05, allocations: 5.797 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002704/0.002728, allocations: 1.554 MB / 1.002 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000114/0.002842, allocations: 27.86 kB / 1.002 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.002891, allocations: 4 kB / 1.002 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.002993, allocations: 11.86 kB / 1.002 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.65e-05/0.00303, allocations: 7.922 kB / 1.002 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.003145, allocations: 19.97 kB / 1.002 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.643e-05/0.003242, allocations: 47.84 kB / 1.002 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.003355, allocations: 23.97 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.414e-05/0.003409, allocations: 31.91 kB / 1.002 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.003468, allocations: 19.97 kB / 1.002 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.003496, allocations: 4 kB / 1.002 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.003507, allocations: 4 kB / 1.002 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.003556, allocations: 27.86 kB / 1.002 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.003596, allocations: 23.91 kB / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.003697, allocations: 47.81 kB / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003699, allocations: 0 / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003699, allocations: 0 / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.003707, allocations: 0 / 1.002 GB, free: 5.441 MB / 0.9512 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.0004034/0.00411, allocations: 298 kB / 1.002 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.004144, allocations: 12.03 kB / 1.002 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.004173, allocations: 8.891 kB / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.004357, allocations: 133.7 kB / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.004367, allocations: 384 / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.004384, allocations: 12.38 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.004548, allocations: 96.73 kB / 1.002 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.004558, allocations: 4.188 kB / 1.002 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.004569, allocations: 4.375 kB / 1.002 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004573, allocations: 384 / 1.002 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.982e-05/0.004663, allocations: 47.86 kB / 1.003 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.005249, allocations: 0.5619 MB / 1.003 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.005351, allocations: 165.1 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.005405, allocations: 84.08 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-05/0.005451, allocations: 79.22 kB / 1.003 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.174e-05/0.005512, allocations: 113.8 kB / 1.004 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.005514, allocations: 0 / 1.004 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.053e-05/0.005584, allocations: 33.69 kB / 1.004 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.00566, allocations: 126.7 kB / 1.004 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.005791, allocations: 121.8 kB / 1.004 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.005807, allocations: 25.7 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.005889, allocations: 119.9 kB / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.005891, allocations: 0 / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.005926, allocations: 17.67 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.006072, allocations: 322.8 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.006085, allocations: 0 / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.038e-05/0.006115, allocations: 30.5 kB / 1.004 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.448e-05/0.00616, allocations: 26.58 kB / 1.004 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006161, allocations: 0 / 1.004 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001214/0.006283, allocations: 57.64 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.006296, allocations: 7.938 kB / 1.004 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.0063, allocations: 0 / 1.004 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.006317, allocations: 7.984 kB / 1.004 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.006374, allocations: 7.938 kB / 1.004 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.006378, allocations: 0 / 1.004 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.006409, allocations: 3.938 kB / 1.004 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.006415, allocations: 4 kB / 1.004 GB, free: 2.734 MB / 0.9512 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.0001229/0.006538, allocations: 189.8 kB / 1.005 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.006613, allocations: 116.9 kB / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.484e-05/0.006678, allocations: 108.4 kB / 1.005 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.863e-05/0.006756, allocations: 180.3 kB / 1.005 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.642e-05/0.006843, allocations: 180.2 kB / 1.005 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.705e-05/0.00693, allocations: 180.4 kB / 1.005 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.007192, allocations: 376.8 kB / 1.006 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-05/0.00724, allocations: 104.9 kB / 1.006 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.007296, allocations: 109 kB / 1.006 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-05/0.00738, allocations: 188.2 kB / 1.006 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/0.007465, allocations: 176.3 kB / 1.006 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.421e-05/0.007549, allocations: 184.3 kB / 1.006 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.682e-05/0.007636, allocations: 180.2 kB / 1.007 GB, free: 392 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.007801, allocations: 315.7 kB / 1.007 GB, free: 52 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.109e-05/0.007872, allocations: 104.9 kB / 1.007 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.007968, allocations: 180.3 kB / 1.007 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.00807, allocations: 104.9 kB / 1.007 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.008157, allocations: 180.2 kB / 1.007 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.008216, allocations: 112.9 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.399e-05/0.00828, allocations: 95.2 kB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.00828, allocations: 0 / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002342/0.008514, allocations: 8 kB / 1.008 GB, free: 15.25 MB / 0.9669 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.0001474/0.008661, allocations: 178.5 kB / 1.008 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.258e-05/0.008734, allocations: 8 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008735, allocations: 0 / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.008739, allocations: 3.938 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.009186, allocations: 465.5 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.009543, allocations: 220 kB / 1.008 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.094e-05/0.009624, allocations: 79.45 kB / 1.009 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.192e-05/0.009636, allocations: 4 kB / 1.009 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.009657, allocations: 8.5 kB / 1.009 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.009657, allocations: 0 / 1.009 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of Templates: time 0.002496/0.01215, allocations: 269.2 kB / 1.009 GB, free: 13.98 MB / 0.9669 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: 7.905372101813555]