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.00163/0.00163, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001744/0.001744, allocations: 162.9 kB / 23.01 MB, free: 4.949 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.424/1.424, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.907/2.907, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 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.002228/0.002228, allocations: 67.91 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7955/0.7978, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002471/0.8002, allocations: 1.553 MB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001001/0.8003, allocations: 28.94 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.8004, allocations: 1.375 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.8005, allocations: 10.78 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.071e-05/0.8005, allocations: 9.922 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.8006, allocations: 25.84 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.236e-05/0.8007, allocations: 43.16 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.8008, allocations: 18.17 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.02e-05/0.8008, allocations: 23.5 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.8009, allocations: 24.64 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.8009, allocations: 5.5 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.8009, allocations: 4.125 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.801, allocations: 21.38 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.801, allocations: 24.84 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.347e-05/0.8011, allocations: 66.3 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8011, allocations: 1.984 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8011, allocations: 0 / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.8011, allocations: 0 / 1.188 GB, free: 14.99 MB / 1.076 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.0002786/0.8014, allocations: 291.6 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.8014, allocations: 8.25 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.8014, allocations: 9.812 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.8016, allocations: 118.4 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.8016, allocations: 11.97 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.8016, allocations: 3.938 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.8017, allocations: 107.7 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.8017, allocations: 0.7969 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.8017, allocations: 5.281 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.8017, allocations: 6.594 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.8018, allocations: 43.84 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.8022, allocations: 0.5634 MB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.111e-05/0.8022, allocations: 166.2 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/0.8022, allocations: 81.2 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.8022, allocations: 79.83 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.8023, allocations: 112.7 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.8023, allocations: 3.984 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 5.47e-05/0.8023, allocations: 32.7 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.8023, allocations: 132 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.788e-05/0.8024, allocations: 128.3 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-06/0.8024, allocations: 25.7 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.8025, allocations: 117.2 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.8025, allocations: 1.344 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.8025, allocations: 16.52 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.525e-05/0.8025, allocations: 314.6 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.8025, allocations: 7.25 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.8026, allocations: 27.67 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.8026, allocations: 25.44 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.8026, allocations: 1.125 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.89e-05/0.8027, allocations: 54.62 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.8027, allocations: 5.281 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.8027, allocations: 0.9688 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.8027, allocations: 5.938 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.125e-05/0.8028, allocations: 12.78 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.8028, allocations: 1.125 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.8028, allocations: 2.75 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.8028, allocations: 1.031 kB / 1.191 GB, free: 12.57 MB / 1.076 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 5.063e-05/0.8029, allocations: 197.2 kB / 1.191 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.8029, allocations: 103.9 kB / 1.191 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.222e-05/0.8029, allocations: 116.1 kB / 1.191 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.8029, allocations: 183 kB / 1.191 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.007e-05/0.803, allocations: 182.1 kB / 1.192 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.803, allocations: 186.1 kB / 1.192 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.8031, allocations: 370.2 kB / 1.192 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.8031, allocations: 106.6 kB / 1.192 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.118e-05/0.8031, allocations: 102.8 kB / 1.192 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/0.8031, allocations: 182.3 kB / 1.192 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.8032, allocations: 183.2 kB / 1.193 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-05/0.8032, allocations: 178.5 kB / 1.193 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-05/0.8032, allocations: 187.1 kB / 1.193 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.283e-05/0.8033, allocations: 311.7 kB / 1.193 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.8033, allocations: 104.7 kB / 1.193 GB, free: 9.836 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.8033, allocations: 182.1 kB / 1.194 GB, free: 9.652 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.999e-05/0.8034, allocations: 115.5 kB / 1.194 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.8034, allocations: 182.2 kB / 1.194 GB, free: 9.352 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.8034, allocations: 111 kB / 1.194 GB, free: 9.238 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.8034, allocations: 101.2 kB / 1.194 GB, free: 9.152 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8034, allocations: 1.344 kB / 1.194 GB, free: 9.152 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002284/0.8037, allocations: 9.859 kB / 1.194 GB, free: 9.148 MB / 1.076 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 6.974e-05/0.8037, allocations: 169.4 kB / 1.194 GB, free: 8.988 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.037e-05/0.8038, allocations: 10.86 kB / 1.194 GB, free: 8.984 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.8038, allocations: 1.312 kB / 1.194 GB, free: 8.984 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.8038, allocations: 7.938 kB / 1.194 GB, free: 8.977 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.8041, allocations: 459.8 kB / 1.195 GB, free: 8.527 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.8043, allocations: 221.8 kB / 1.195 GB, free: 8.324 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.203e-05/0.8044, allocations: 78.25 kB / 1.195 GB, free: 8.25 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.148e-05/0.8044, allocations: 1.953 kB / 1.195 GB, free: 8.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.8044, allocations: 10.66 kB / 1.195 GB, free: 8.242 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.8044, allocations: 0 / 1.195 GB, free: 8.242 MB / 1.076 GB Notification: Performance of Templates: time 0.002219/0.8066, allocations: 265.1 kB / 1.195 GB, free: 8.164 MB / 1.076 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 -s ida -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: 8.463077859953046]