Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 106.6 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 249.9 MB, free: 3.238 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.803/2.803, allocations: 489.7 MB / 0.7761 GB, free: 2.391 MB / 0.6075 GB [Timeout remaining time 86] 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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 60.09 kB / 1.127 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.072, allocations: 172.1 MB / 1.295 GB, free: 38.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002137/1.074, allocations: 1.237 MB / 1.296 GB, free: 37.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001725/1.075, allocations: 1.314 MB / 1.297 GB, free: 36.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/1.075, allocations: 0 / 1.297 GB, free: 36.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/1.075, allocations: 7.938 kB / 1.297 GB, free: 36.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006274/1.076, allocations: 208 kB / 1.298 GB, free: 36.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.275e-05/1.076, allocations: 30.31 kB / 1.298 GB, free: 36.83 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.096e-05/1.076, allocations: 13.33 kB / 1.298 GB, free: 36.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/1.076, allocations: 2.812 kB / 1.298 GB, free: 36.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.434e-05/1.076, allocations: 13.77 kB / 1.298 GB, free: 36.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2394/1.316, allocations: 31 MB / 1.328 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/1.316, allocations: 1.594 kB / 1.328 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/1.316, allocations: 4 kB / 1.328 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/1.316, allocations: 5.031 kB / 1.328 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/1.316, allocations: 6.984 kB / 1.328 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/1.316, allocations: 7.156 kB / 1.328 GB, free: 22.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/1.316, allocations: 5.469 kB / 1.328 GB, free: 22.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.725e-06/1.316, allocations: 0 / 1.328 GB, free: 22.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.742e-06/1.316, allocations: 0 / 1.328 GB, free: 22.71 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002849/1.316, allocations: 317.7 kB / 1.328 GB, free: 22.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.316, allocations: 10.44 kB / 1.328 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/1.316, allocations: 81.25 kB / 1.328 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/1.316, allocations: 248.9 kB / 1.329 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/1.316, allocations: 150.9 kB / 1.329 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/1.316, allocations: 150.9 kB / 1.329 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.515e-05/1.317, allocations: 106.6 kB / 1.329 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.317, allocations: 75.28 kB / 1.329 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/1.317, allocations: 167.2 kB / 1.329 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/1.317, allocations: 150.6 kB / 1.329 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.405e-05/1.317, allocations: 155.7 kB / 1.329 GB, free: 21.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/1.317, allocations: 443.3 kB / 1.33 GB, free: 20.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.804e-05/1.317, allocations: 170.5 kB / 1.33 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/1.317, allocations: 83.42 kB / 1.33 GB, free: 20.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/1.317, allocations: 76.44 kB / 1.33 GB, free: 20.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/1.317, allocations: 114.9 kB / 1.33 GB, free: 20.13 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/1.317, allocations: 0 / 1.33 GB, free: 20.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.073e-05/1.317, allocations: 35.83 kB / 1.33 GB, free: 20.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/1.317, allocations: 207.8 kB / 1.331 GB, free: 19.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.921e-05/1.317, allocations: 101.7 kB / 1.331 GB, free: 19.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/1.317, allocations: 25.7 kB / 1.331 GB, free: 19.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.221e-05/1.317, allocations: 82.52 kB / 1.331 GB, free: 19.64 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/1.317, allocations: 0 / 1.331 GB, free: 19.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/1.317, allocations: 13.12 kB / 1.331 GB, free: 19.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.548e-05/1.317, allocations: 315.4 kB / 1.331 GB, free: 19.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-06/1.317, allocations: 0 / 1.331 GB, free: 19.31 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.515e-05/1.317, allocations: 25.14 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.783e-05/1.317, allocations: 76.44 kB / 1.331 GB, free: 19.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.317, allocations: 76.34 kB / 1.331 GB, free: 19.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.933e-05/1.317, allocations: 39.84 kB / 1.331 GB, free: 19.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.317, allocations: 80.75 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.317, allocations: 79.53 kB / 1.331 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/1.317, allocations: 163.7 kB / 1.332 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-05/1.317, allocations: 76.42 kB / 1.332 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/1.317, allocations: 156 kB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/1.318, allocations: 86.12 kB / 1.332 GB, free: 18.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/1.318, allocations: 78.47 kB / 1.332 GB, free: 18.4 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 6.365e-05/1.318, allocations: 258.9 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/1.318, allocations: 115.2 kB / 1.332 GB, free: 18.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/1.318, allocations: 105.5 kB / 1.332 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/1.318, allocations: 184.7 kB / 1.333 GB, free: 17.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-05/1.318, allocations: 181.3 kB / 1.333 GB, free: 17.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/1.318, allocations: 176.3 kB / 1.333 GB, free: 17.37 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/1.318, allocations: 411 kB / 1.333 GB, free: 16.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/1.318, allocations: 110 kB / 1.333 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.691e-05/1.318, allocations: 106 kB / 1.333 GB, free: 16.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.621e-05/1.318, allocations: 185 kB / 1.334 GB, free: 16.51 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/1.318, allocations: 177.6 kB / 1.334 GB, free: 16.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.563e-05/1.318, allocations: 180.2 kB / 1.334 GB, free: 16.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.251e-05/1.318, allocations: 181.5 kB / 1.334 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.249e-05/1.318, allocations: 313 kB / 1.334 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/1.318, allocations: 182 kB / 1.335 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/1.318, allocations: 185.8 kB / 1.335 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/1.318, allocations: 111.3 kB / 1.335 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/1.318, allocations: 181.2 kB / 1.335 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/1.318, allocations: 102.2 kB / 1.335 GB, free: 14.85 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.999e-05/1.318, allocations: 81.38 kB / 1.335 GB, free: 14.78 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.318, allocations: 0 / 1.335 GB, free: 14.78 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002512/1.319, allocations: 2.812 kB / 1.335 GB, free: 14.78 MB / 1.061 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.0001171/1.319, allocations: 179.2 kB / 1.335 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.62e-05/1.319, allocations: 6.219 kB / 1.335 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.319, allocations: 0 / 1.335 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.726e-06/1.319, allocations: 5.375 kB / 1.335 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/1.319, allocations: 458.1 kB / 1.336 GB, free: 14.15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/1.319, allocations: 203.6 kB / 1.336 GB, free: 13.94 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/1.319, allocations: 0.6745 MB / 1.337 GB, free: 13.24 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.393e-05/1.319, allocations: 9.156 kB / 1.337 GB, free: 13.24 MB / 1.061 GB Notification: Performance of SimCode: time 4.4e-07/1.319, allocations: 0 / 1.337 GB, free: 13.24 MB / 1.061 GB Notification: Performance of Templates: time 0.003809/1.323, allocations: 464.6 kB / 1.337 GB, free: 13.21 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches