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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001704, allocations: 110.5 kB / 17.08 MB, free: 5.766 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.001901/0.001901, allocations: 189.2 kB / 20.03 MB, free: 2.906 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.444/1.444, allocations: 222.9 MB / 245.7 MB, free: 4.199 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 2.943/2.943, allocations: 489.2 MB / 0.7687 GB, free: 3.75 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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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.002015/0.002015, allocations: 63.89 kB / 1.103 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 163.8 MB / 1.263 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002571/1.056, allocations: 1.231 MB / 1.264 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001998/1.058, allocations: 1.251 MB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/1.058, allocations: 0.7812 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/1.058, allocations: 7.328 kB / 1.265 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007609/1.059, allocations: 208.9 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/1.059, allocations: 30.02 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.808e-05/1.059, allocations: 28.84 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/1.059, allocations: 2.703 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/1.059, allocations: 9.5 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2456/1.305, allocations: 30.95 MB / 1.295 GB, free: 8.219 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/1.305, allocations: 0 / 1.295 GB, free: 8.219 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/1.305, allocations: 1.156 kB / 1.295 GB, free: 8.219 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/1.305, allocations: 5.562 kB / 1.296 GB, free: 8.215 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/1.305, allocations: 11.36 kB / 1.296 GB, free: 8.207 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/1.305, allocations: 7.781 kB / 1.296 GB, free: 8.207 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.305, allocations: 0 / 1.296 GB, free: 8.207 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.525e-06/1.305, allocations: 0 / 1.296 GB, free: 8.207 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.305, allocations: 0 / 1.296 GB, free: 8.207 MB / 1.014 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.0003974/1.306, allocations: 322.6 kB / 1.296 GB, free: 7.855 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.306, allocations: 9.344 kB / 1.296 GB, free: 7.855 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.796e-05/1.306, allocations: 81.89 kB / 1.296 GB, free: 7.777 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/1.306, allocations: 246.2 kB / 1.296 GB, free: 7.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/1.306, allocations: 151.5 kB / 1.296 GB, free: 7.352 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.63e-05/1.306, allocations: 152.4 kB / 1.296 GB, free: 7.203 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.139e-05/1.306, allocations: 109.6 kB / 1.297 GB, free: 7.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/1.306, allocations: 77 kB / 1.297 GB, free: 7.016 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/1.307, allocations: 150.6 kB / 1.297 GB, free: 6.867 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.777e-05/1.307, allocations: 155.2 kB / 1.297 GB, free: 6.715 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/1.307, allocations: 152.3 kB / 1.297 GB, free: 6.566 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/1.307, allocations: 449.9 kB / 1.297 GB, free: 6.082 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/1.307, allocations: 170.3 kB / 1.298 GB, free: 5.906 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/1.307, allocations: 80.14 kB / 1.298 GB, free: 5.824 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/1.307, allocations: 76.62 kB / 1.298 GB, free: 5.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.464e-05/1.307, allocations: 116.3 kB / 1.298 GB, free: 5.629 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/1.307, allocations: 0 / 1.298 GB, free: 5.629 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001006/1.308, allocations: 32.05 kB / 1.298 GB, free: 5.594 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/1.308, allocations: 204.9 kB / 1.298 GB, free: 5.363 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/1.308, allocations: 99.78 kB / 1.298 GB, free: 5.262 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/1.308, allocations: 29.64 kB / 1.298 GB, free: 5.227 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/1.308, allocations: 87.03 kB / 1.298 GB, free: 5.141 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/1.308, allocations: 0 / 1.298 GB, free: 5.141 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/1.308, allocations: 21.47 kB / 1.298 GB, free: 5.117 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.308, allocations: 314 kB / 1.299 GB, free: 4.805 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-06/1.308, allocations: 0 / 1.299 GB, free: 4.805 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.61e-05/1.308, allocations: 18.31 kB / 1.299 GB, free: 4.781 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.126e-05/1.308, allocations: 80.53 kB / 1.299 GB, free: 4.703 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-05/1.308, allocations: 75.28 kB / 1.299 GB, free: 4.629 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.238e-05/1.308, allocations: 38.56 kB / 1.299 GB, free: 4.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.734e-05/1.308, allocations: 85.12 kB / 1.299 GB, free: 4.512 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-05/1.308, allocations: 76.02 kB / 1.299 GB, free: 4.438 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/1.309, allocations: 164.5 kB / 1.299 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.586e-05/1.309, allocations: 80.8 kB / 1.299 GB, free: 4.199 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-05/1.309, allocations: 151.1 kB / 1.299 GB, free: 4.051 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/1.309, allocations: 83.41 kB / 1.299 GB, free: 3.973 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/1.309, allocations: 81.02 kB / 1.3 GB, free: 3.895 MB / 1.014 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 0.000185/1.309, allocations: 265.1 kB / 1.3 GB, free: 3.629 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.492e-05/1.309, allocations: 110.8 kB / 1.3 GB, free: 3.516 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.166e-05/1.309, allocations: 106.5 kB / 1.3 GB, free: 3.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-05/1.309, allocations: 178.5 kB / 1.3 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.792e-05/1.309, allocations: 186.2 kB / 1.3 GB, free: 3.043 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.632e-05/1.31, allocations: 177 kB / 1.301 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/1.31, allocations: 406.2 kB / 1.301 GB, free: 2.414 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.177e-05/1.31, allocations: 107.2 kB / 1.301 GB, free: 2.305 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/1.31, allocations: 106.6 kB / 1.301 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.961e-05/1.31, allocations: 182.1 kB / 1.301 GB, free: 2.012 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.691e-05/1.31, allocations: 186.1 kB / 1.301 GB, free: 1.824 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.581e-05/1.31, allocations: 181.6 kB / 1.302 GB, free: 1.641 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.605e-05/1.31, allocations: 178.1 kB / 1.302 GB, free: 1.461 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/1.311, allocations: 311.2 kB / 1.302 GB, free: 1.141 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/1.311, allocations: 192.9 kB / 1.302 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.311, allocations: 186.5 kB / 1.302 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/1.311, allocations: 105.2 kB / 1.303 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.311, allocations: 177 kB / 1.303 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/1.311, allocations: 106.8 kB / 1.303 GB, free: 356 kB / 1.014 GB Notification: Performance of sorting global known variables: time 6.817e-05/1.311, allocations: 87.48 kB / 1.303 GB, free: 272 kB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.311, allocations: 4 kB / 1.303 GB, free: 268 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002716/1.312, allocations: 3.531 kB / 1.303 GB, free: 268 kB / 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.312, allocations: 173 kB / 1.303 GB, free: 100 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.192e-05/1.312, allocations: 1.562 kB / 1.303 GB, free: 100 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.312, allocations: 0 / 1.303 GB, free: 100 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/1.312, allocations: 3.938 kB / 1.303 GB, free: 96 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/1.312, allocations: 464.4 kB / 1.304 GB, free: 15.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/1.313, allocations: 188.8 kB / 1.304 GB, free: 15.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/1.313, allocations: 0.6729 MB / 1.304 GB, free: 14.74 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.296e-05/1.313, allocations: 7.438 kB / 1.304 GB, free: 14.73 MB / 1.029 GB Notification: Performance of SimCode: time 2.3e-07/1.313, allocations: 1.5 kB / 1.304 GB, free: 14.73 MB / 1.029 GB Notification: Performance of Templates: time 0.004207/1.317, allocations: 464.2 kB / 1.305 GB, free: 14.71 MB / 1.029 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 800] 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_2/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 [Calling sys.exit(0), Time elapsed: 11.703744516009465]