Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00137/0.00137, allocations: 78.09 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.001481/0.001481, allocations: 159.5 kB / 23.01 MB, free: 4.945 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.421/1.421, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.804/2.804, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002106/0.002106, allocations: 75.81 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7776, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002361/0.78, allocations: 1.543 MB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001146/0.7801, allocations: 38.55 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.119e-05/0.7802, allocations: 0 / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.7803, allocations: 10.09 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.515e-05/0.7803, allocations: 7.875 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.7804, allocations: 18.33 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.335e-05/0.7805, allocations: 43.92 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.7807, allocations: 22.47 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.979e-05/0.7807, allocations: 20.28 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.7808, allocations: 28.59 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.7808, allocations: 3.156 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.7808, allocations: 8.844 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.7808, allocations: 22.3 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.7809, allocations: 21.22 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.568e-05/0.7809, allocations: 57.38 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.781, allocations: 0 / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.393e-06/0.781, allocations: 2.406 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.781, allocations: 0 / 1.156 GB, free: 32.11 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.0003272/0.7813, allocations: 296.2 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.7813, allocations: 10.62 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.7813, allocations: 11.17 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.7815, allocations: 132.5 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.7815, allocations: 2.688 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.7815, allocations: 7 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.7816, allocations: 103.8 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.7816, allocations: 192 / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.7816, allocations: 10.84 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.7816, allocations: 0 / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.903e-05/0.7817, allocations: 41.89 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.7821, allocations: 0.5569 MB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.628e-05/0.7821, allocations: 171.3 kB / 1.157 GB, free: 30.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.7821, allocations: 88.14 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.7821, allocations: 79.27 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.7821, allocations: 108.8 kB / 1.157 GB, free: 30.57 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.7821, allocations: 3.938 kB / 1.157 GB, free: 30.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 5.45e-05/0.7822, allocations: 28.73 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.7822, allocations: 130.6 kB / 1.157 GB, free: 30.39 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.7823, allocations: 133.9 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-06/0.7823, allocations: 25.7 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.7824, allocations: 116.9 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.7824, allocations: 0 / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.7824, allocations: 16.62 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.7824, allocations: 318.2 kB / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.7824, allocations: 2.719 kB / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.7824, allocations: 24.08 kB / 1.158 GB, free: 29.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.7825, allocations: 31.58 kB / 1.158 GB, free: 29.74 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7825, allocations: 0 / 1.158 GB, free: 29.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.883e-05/0.7826, allocations: 47.77 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.7826, allocations: 9.812 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.7826, allocations: 6.203 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.7826, allocations: 0 / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.962e-05/0.7826, allocations: 9.406 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.7826, allocations: 0 / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.7827, allocations: 2.906 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.7827, allocations: 3.984 kB / 1.158 GB, free: 29.69 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 4.787e-05/0.7827, allocations: 197.6 kB / 1.158 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.7828, allocations: 107.7 kB / 1.158 GB, free: 29.39 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.7828, allocations: 107 kB / 1.159 GB, free: 29.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.7828, allocations: 194.1 kB / 1.159 GB, free: 29.08 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/0.7828, allocations: 184.3 kB / 1.159 GB, free: 28.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.7828, allocations: 186.7 kB / 1.159 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.7829, allocations: 371.1 kB / 1.159 GB, free: 28.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.783, allocations: 101 kB / 1.16 GB, free: 28.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.783, allocations: 107.6 kB / 1.16 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.036e-05/0.783, allocations: 179.5 kB / 1.16 GB, free: 27.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.783, allocations: 183.1 kB / 1.16 GB, free: 27.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.088e-05/0.783, allocations: 180.3 kB / 1.16 GB, free: 27.56 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.272e-05/0.7831, allocations: 187 kB / 1.16 GB, free: 27.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.255e-05/0.7831, allocations: 305 kB / 1.161 GB, free: 27.06 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.7831, allocations: 115.8 kB / 1.161 GB, free: 26.95 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.7832, allocations: 191.4 kB / 1.161 GB, free: 26.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/0.7832, allocations: 107.8 kB / 1.161 GB, free: 26.64 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.7832, allocations: 180.2 kB / 1.161 GB, free: 26.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.7832, allocations: 107.6 kB / 1.161 GB, free: 26.35 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.464e-05/0.7833, allocations: 97.91 kB / 1.161 GB, free: 26.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.7833, allocations: 0 / 1.161 GB, free: 26.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002176/0.7835, allocations: 6 kB / 1.161 GB, free: 26.27 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 7.26e-05/0.7836, allocations: 176.7 kB / 1.162 GB, free: 26.11 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.95e-05/0.7836, allocations: 9.938 kB / 1.162 GB, free: 26.1 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7836, allocations: 0 / 1.162 GB, free: 26.1 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.7836, allocations: 0 / 1.162 GB, free: 26.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.7839, allocations: 465.6 kB / 1.162 GB, free: 25.65 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.7841, allocations: 223.4 kB / 1.162 GB, free: 25.45 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.7842, allocations: 84.33 kB / 1.162 GB, free: 25.37 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.123e-05/0.7842, allocations: 0 / 1.162 GB, free: 25.37 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.7842, allocations: 11.09 kB / 1.162 GB, free: 25.36 MB / 1.076 GB Notification: Performance of SimCode: time 2.7e-07/0.7842, allocations: 4.188 kB / 1.162 GB, free: 25.36 MB / 1.076 GB Notification: Performance of Templates: time 0.002131/0.7863, allocations: 255.8 kB / 1.163 GB, free: 25.29 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.254641802981496]