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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 115.4 kB / 17.08 MB, free: 5.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 194.2 kB / 20.03 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.023/3.023, allocations: 489.3 MB / 0.7687 GB, free: 3.781 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001953/0.001953, allocations: 63.89 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.038, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002794/1.041, allocations: 1.534 MB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001152/1.041, allocations: 36.06 kB / 1.264 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/1.041, allocations: 4.844 kB / 1.264 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/1.042, allocations: 8.078 kB / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.069e-05/1.042, allocations: 5.906 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/1.042, allocations: 23.83 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/1.042, allocations: 50.2 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/1.042, allocations: 39.75 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.946e-05/1.042, allocations: 21.02 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/1.042, allocations: 30.64 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/1.042, allocations: 4.781 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/1.042, allocations: 4.25 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/1.042, allocations: 17.27 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/1.042, allocations: 24.62 kB / 1.264 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/1.042, allocations: 64.81 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.042, allocations: 0.6562 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.042, allocations: 4 kB / 1.264 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.042, allocations: 0.6562 kB / 1.264 GB, free: 6.781 MB / 0.9981 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.0003706/1.043, allocations: 365 kB / 1.265 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.043, allocations: 9.188 kB / 1.265 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/1.043, allocations: 9.719 kB / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/1.043, allocations: 184.5 kB / 1.265 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/1.043, allocations: 3.594 kB / 1.265 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/1.043, allocations: 8 kB / 1.265 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/1.043, allocations: 103.1 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.043, allocations: 4.828 kB / 1.265 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/1.043, allocations: 12.66 kB / 1.265 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.043, allocations: 2.125 kB / 1.265 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.015e-05/1.043, allocations: 45.19 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/1.044, allocations: 0.6374 MB / 1.266 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.983e-05/1.044, allocations: 170.5 kB / 1.266 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/1.044, allocations: 81.45 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/1.044, allocations: 75.28 kB / 1.266 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/1.044, allocations: 111.3 kB / 1.266 GB, free: 5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/1.044, allocations: 0.9688 kB / 1.266 GB, free: 5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.972e-05/1.044, allocations: 45.89 kB / 1.266 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/1.044, allocations: 127.5 kB / 1.266 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/1.044, allocations: 163.2 kB / 1.266 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.411e-06/1.044, allocations: 25.7 kB / 1.266 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/1.044, allocations: 107.1 kB / 1.267 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/1.044, allocations: 4.844 kB / 1.267 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/1.044, allocations: 12.89 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.566e-05/1.044, allocations: 320.2 kB / 1.267 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/1.045, allocations: 3.234 kB / 1.267 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.059e-05/1.045, allocations: 23.7 kB / 1.267 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/1.045, allocations: 33.41 kB / 1.267 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.045, allocations: 0 / 1.267 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000119/1.045, allocations: 60.91 kB / 1.267 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.045, allocations: 6.656 kB / 1.267 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.045, allocations: 0.8125 kB / 1.267 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.045, allocations: 5.531 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/1.045, allocations: 4.922 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/1.045, allocations: 1.391 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/1.045, allocations: 14.61 kB / 1.267 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/1.045, allocations: 1.594 kB / 1.267 GB, free: 4.098 MB / 0.9981 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 8.173e-05/1.045, allocations: 196.2 kB / 1.267 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/1.045, allocations: 114.2 kB / 1.267 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/1.045, allocations: 117.5 kB / 1.267 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/1.045, allocations: 183.1 kB / 1.268 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.571e-05/1.045, allocations: 181.7 kB / 1.268 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/1.045, allocations: 181.5 kB / 1.268 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/1.045, allocations: 427.1 kB / 1.268 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/1.045, allocations: 106.2 kB / 1.269 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/1.045, allocations: 114.4 kB / 1.269 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/1.046, allocations: 177.7 kB / 1.269 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.633e-05/1.046, allocations: 186.7 kB / 1.269 GB, free: 18.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.121e-05/1.046, allocations: 182.2 kB / 1.269 GB, free: 17.89 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.77e-05/1.046, allocations: 177.7 kB / 1.269 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/1.046, allocations: 311.9 kB / 1.27 GB, free: 17.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/1.046, allocations: 190.7 kB / 1.27 GB, free: 17.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/1.046, allocations: 190.9 kB / 1.27 GB, free: 17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/1.046, allocations: 106.8 kB / 1.27 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/1.046, allocations: 185.9 kB / 1.27 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-05/1.046, allocations: 102.7 kB / 1.27 GB, free: 16.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001182/1.047, allocations: 128.6 kB / 1.27 GB, free: 16.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.047, allocations: 4 kB / 1.27 GB, free: 16.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002289/1.047, allocations: 6.703 kB / 1.27 GB, free: 16.5 MB / 1.014 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.000176/1.047, allocations: 172.6 kB / 1.271 GB, free: 16.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.729e-05/1.047, allocations: 11.48 kB / 1.271 GB, free: 16.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.047, allocations: 0 / 1.271 GB, free: 16.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-06/1.047, allocations: 1.062 kB / 1.271 GB, free: 16.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/1.048, allocations: 462.5 kB / 1.271 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/1.048, allocations: 264.4 kB / 1.271 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/1.048, allocations: 0.6934 MB / 1.272 GB, free: 14.94 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/1.048, allocations: 10.81 kB / 1.272 GB, free: 14.94 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.048, allocations: 3.938 kB / 1.272 GB, free: 14.93 MB / 1.014 GB Notification: Performance of Templates: time 0.002929/1.051, allocations: 0.8118 MB / 1.273 GB, free: 14.87 MB / 1.014 GB " [Timeout remaining time 299] 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_2/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: 11.385222471086308]