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.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.001048/0.001048, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009624/0.0009624, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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.034/1.034, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.999/1.999, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.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 1.653e-06/1.653e-06, allocations: 0.5469 kB / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.716e-05, allocations: 2.938 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.0018/0.001827, allocations: 1.301 MB / 0.8806 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.003133, allocations: 1.372 MB / 0.882 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.003156, allocations: 1.688 kB / 0.882 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.003174, allocations: 5.031 kB / 0.882 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005564/0.003731, allocations: 223.3 kB / 0.8822 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.411e-05/0.003795, allocations: 28.45 kB / 0.8822 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.842e-05/0.003843, allocations: 13.33 kB / 0.8822 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.003879, allocations: 0 / 0.8822 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.54e-05/0.003914, allocations: 19.92 kB / 0.8823 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1205/0.1244, allocations: 51.69 MB / 0.9327 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.1244, allocations: 4 kB / 0.9327 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.1244, allocations: 0 / 0.9327 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.1244, allocations: 4 kB / 0.9327 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.1245, allocations: 3.984 kB / 0.9328 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.1246, allocations: 15.92 kB / 0.9328 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1246, allocations: 0 / 0.9328 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1246, allocations: 3.938 kB / 0.9328 GB, free: 3.473 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1246, allocations: 0 / 0.9328 GB, free: 3.473 MB / 0.8855 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.0002384/0.1248, allocations: 344.4 kB / 0.9331 GB, free: 3.102 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1249, allocations: 8.031 kB / 0.9331 GB, free: 3.094 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.1249, allocations: 128.1 kB / 0.9332 GB, free: 2.969 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.125, allocations: 227.8 kB / 0.9334 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.1251, allocations: 242.7 kB / 0.9337 GB, free: 2.48 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.1252, allocations: 242.8 kB / 0.9339 GB, free: 2.242 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.628e-05/0.1252, allocations: 145.5 kB / 0.934 GB, free: 2.094 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.525e-05/0.1253, allocations: 123.4 kB / 0.9342 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/0.1253, allocations: 242.5 kB / 0.9344 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/0.1254, allocations: 242.4 kB / 0.9346 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.1254, allocations: 246.3 kB / 0.9349 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.1257, allocations: 0.5531 MB / 0.9354 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.503e-05/0.1258, allocations: 261.4 kB / 0.9357 GB, free: 416 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.1258, allocations: 130.9 kB / 0.9358 GB, free: 280 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.1259, allocations: 119.2 kB / 0.9359 GB, free: 160 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/0.1259, allocations: 164.5 kB / 0.936 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.1259, allocations: 0 / 0.936 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 5.674e-05/0.126, allocations: 33.69 kB / 0.9361 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.1261, allocations: 255.7 kB / 0.9363 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/0.1261, allocations: 157.9 kB / 0.9365 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.1261, allocations: 25.7 kB / 0.9365 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.1262, allocations: 130.9 kB / 0.9366 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.21e-07/0.1262, allocations: 0 / 0.9366 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.1262, allocations: 31.36 kB / 0.9367 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002461/0.1265, allocations: 496.1 kB / 0.9371 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-06/0.1265, allocations: 0 / 0.9371 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/0.1265, allocations: 104.1 kB / 0.9372 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.957e-05/0.1265, allocations: 123.2 kB / 0.9373 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.991e-05/0.1266, allocations: 119.2 kB / 0.9375 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.961e-05/0.1266, allocations: 33.69 kB / 0.9375 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.1266, allocations: 123.2 kB / 0.9376 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.1267, allocations: 119.2 kB / 0.9377 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.157e-05/0.1267, allocations: 246.4 kB / 0.938 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.478e-05/0.1267, allocations: 123.2 kB / 0.9381 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.495e-05/0.1268, allocations: 250.2 kB / 0.9383 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1269, allocations: 131.2 kB / 0.9384 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1269, allocations: 119.2 kB / 0.9385 GB, free: 13.29 MB / 0.9011 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.0001012/0.127, allocations: 398.9 kB / 0.9389 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.1271, allocations: 148.9 kB / 0.9391 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.1271, allocations: 148.3 kB / 0.9392 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.494e-05/0.1271, allocations: 275.9 kB / 0.9395 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-05/0.1272, allocations: 272.1 kB / 0.9397 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-05/0.1273, allocations: 279.9 kB / 0.94 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.1274, allocations: 476.5 kB / 0.9405 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002894/0.1277, allocations: 148.9 kB / 0.9406 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.1277, allocations: 152.8 kB / 0.9407 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.227e-05/0.1278, allocations: 268.1 kB / 0.941 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/0.1278, allocations: 268 kB / 0.9413 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.826e-05/0.1279, allocations: 264.1 kB / 0.9415 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.221e-05/0.1279, allocations: 272.1 kB / 0.9418 GB, free: 9.863 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.1281, allocations: 451.9 kB / 0.9422 GB, free: 9.395 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.1281, allocations: 152.8 kB / 0.9423 GB, free: 9.238 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.1282, allocations: 264.1 kB / 0.9426 GB, free: 8.973 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.1282, allocations: 152.9 kB / 0.9427 GB, free: 8.816 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.1283, allocations: 268.3 kB / 0.943 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.1283, allocations: 152.9 kB / 0.9431 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.26e-05/0.1284, allocations: 123.2 kB / 0.9433 GB, free: 8.27 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1284, allocations: 0 / 0.9433 GB, free: 8.27 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001737/0.1285, allocations: 4 kB / 0.9433 GB, free: 8.266 MB / 0.9011 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.0001287/0.1287, allocations: 218.4 kB / 0.9435 GB, free: 8.043 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 4.673e-05/0.1287, allocations: 15.97 kB / 0.9435 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1287, allocations: 0 / 0.9435 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.1287, allocations: 0 / 0.9435 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.129, allocations: 0.7217 MB / 0.9442 GB, free: 7.301 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001861/0.1292, allocations: 209.7 kB / 0.9444 GB, free: 7.066 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.943e-05/0.1292, allocations: 59.34 kB / 0.9445 GB, free: 6.988 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.441e-05/0.1292, allocations: 0 / 0.9445 GB, free: 6.988 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.1293, allocations: 82.19 kB / 0.9445 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of SimCode: time 7.22e-07/0.1293, allocations: 0 / 0.9445 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of Templates: time 0.00188/0.1312, allocations: 0.6105 MB / 0.9451 GB, free: 6.297 MB / 0.9011 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.162917233072221]