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.0009479/0.0009479, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009156/0.0009156, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.9113/0.9113, allocations: 177.2 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.813/1.813, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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.733e-06/1.733e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.872e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002012/0.002041, allocations: 1.544 MB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001095/0.00215, allocations: 35.78 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.0022, allocations: 4 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.002312, allocations: 11.92 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.151e-05/0.002344, allocations: 7.875 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.002452, allocations: 19.98 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.286e-05/0.002535, allocations: 43.83 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.002652, allocations: 27.97 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.002697, allocations: 27.97 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.002759, allocations: 27.89 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.002782, allocations: 4 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.00279, allocations: 4 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.002834, allocations: 23.92 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.002865, allocations: 15.92 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.002989, allocations: 59.8 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.002991, allocations: 0 / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.273e-06/0.002992, allocations: 3.938 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.002996, allocations: 0 / 1.003 GB, free: 11.14 MB / 0.9636 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.0003356/0.003332, allocations: 286.1 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.003368, allocations: 8.75 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.003401, allocations: 8.891 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.003529, allocations: 125.7 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.003539, allocations: 8.375 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.00355, allocations: 8.359 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.003683, allocations: 108.7 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.003691, allocations: 192 / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.003702, allocations: 4.375 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.003707, allocations: 384 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.773e-05/0.003775, allocations: 51.84 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.004186, allocations: 0.5618 MB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.584e-05/0.004252, allocations: 173.1 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.004278, allocations: 84.12 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.004296, allocations: 79.28 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.004329, allocations: 109.8 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.00433, allocations: 0 / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.54e-05/0.004386, allocations: 29.64 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.004431, allocations: 130.7 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.004531, allocations: 121.8 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.004541, allocations: 25.7 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.004597, allocations: 111.9 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.0046, allocations: 0 / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.004629, allocations: 21.66 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.004705, allocations: 322.8 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.004717, allocations: 7.938 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.004736, allocations: 22.58 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.713e-05/0.004773, allocations: 34.5 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.004775, allocations: 0 / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.083e-05/0.004866, allocations: 49.64 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.004879, allocations: 4 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.004884, allocations: 4.094 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.004894, allocations: 0 / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.759e-05/0.004952, allocations: 11.98 kB / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.004958, allocations: 3.984 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.004975, allocations: 3.938 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.00498, allocations: 4 kB / 1.005 GB, free: 8.441 MB / 0.9636 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 7.314e-05/0.005053, allocations: 189.1 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.005092, allocations: 112.9 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.005126, allocations: 108.4 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-05/0.005169, allocations: 188.3 kB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.245e-05/0.005211, allocations: 184.3 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.875e-05/0.00525, allocations: 176.3 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.00539, allocations: 384.7 kB / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-05/0.005414, allocations: 101 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.005438, allocations: 112.9 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.005626, allocations: 176.3 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.005668, allocations: 184.3 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.539e-05/0.005703, allocations: 184.2 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.645e-05/0.00574, allocations: 176.3 kB / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.759e-05/0.005827, allocations: 307.7 kB / 1.008 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.00586, allocations: 116.9 kB / 1.008 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.005905, allocations: 180.3 kB / 1.008 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.987e-05/0.005955, allocations: 109 kB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.006007, allocations: 180.2 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.006033, allocations: 105 kB / 1.008 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.006083, allocations: 91.28 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006083, allocations: 0 / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001601/0.006243, allocations: 12 kB / 1.008 GB, free: 4.945 MB / 0.9636 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.0001314/0.006375, allocations: 178.5 kB / 1.009 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.295e-05/0.006468, allocations: 12 kB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.00647, allocations: 0 / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.006471, allocations: 0 / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.006768, allocations: 461.7 kB / 1.009 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.007166, allocations: 249.6 kB / 1.009 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.406e-05/0.00726, allocations: 83.27 kB / 1.009 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.007292, allocations: 12.53 kB / 1.009 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of SimCode: time 1.353e-06/0.007293, allocations: 0 / 1.009 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of Templates: time 0.001821/0.009114, allocations: 0.7079 MB / 1.01 GB, free: 3.195 MB / 0.9636 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: 6.740276554599404]