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.001953/0.001953, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001627/0.001627, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 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 0.9411/0.9411, allocations: 177.1 MB / 203.7 MB, free: 5.512 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 2.264/2.264, allocations: 438.1 MB / 0.682 GB, free: 14.11 MB / 0.6511 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.173e-06/1.173e-06, allocations: 0 / 0.8897 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111e-05/1.228e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001422/0.001434, allocations: 1.282 MB / 0.891 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.002692, allocations: 1.373 MB / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.002713, allocations: 0 / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.002729, allocations: 0 / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.003275, allocations: 227.1 kB / 0.8926 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 5.635e-05/0.003331, allocations: 27.95 kB / 0.8926 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.736e-05/0.003369, allocations: 15.94 kB / 0.8926 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.084e-05/0.0034, allocations: 3.938 kB / 0.8926 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.003434, allocations: 15.97 kB / 0.8926 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1161/0.1195, allocations: 51.68 MB / 0.9431 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.1195, allocations: 0 / 0.9431 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.1195, allocations: 0 / 0.9431 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.1195, allocations: 7.922 kB / 0.9431 GB, free: 7.328 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.1196, allocations: 4 kB / 0.9431 GB, free: 7.324 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.522e-05/0.1197, allocations: 19.92 kB / 0.9431 GB, free: 7.305 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1197, allocations: 0 / 0.9431 GB, free: 7.305 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1197, allocations: 0 / 0.9431 GB, free: 7.305 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.1197, allocations: 4 kB / 0.9431 GB, free: 7.301 MB / 0.9011 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.0002154/0.1199, allocations: 344.4 kB / 0.9434 GB, free: 6.93 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1199, allocations: 8.031 kB / 0.9435 GB, free: 6.922 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.12, allocations: 120.1 kB / 0.9436 GB, free: 6.805 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.854e-05/0.1201, allocations: 235.8 kB / 0.9438 GB, free: 6.547 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.1201, allocations: 242.7 kB / 0.944 GB, free: 6.309 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.1202, allocations: 238.8 kB / 0.9442 GB, free: 6.074 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.287e-05/0.1202, allocations: 157.4 kB / 0.9444 GB, free: 5.914 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.1202, allocations: 119.4 kB / 0.9445 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.1203, allocations: 242.5 kB / 0.9447 GB, free: 5.559 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/0.1203, allocations: 238.4 kB / 0.945 GB, free: 5.324 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.726e-05/0.1204, allocations: 242.4 kB / 0.9452 GB, free: 5.086 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.1206, allocations: 0.5531 MB / 0.9457 GB, free: 4.508 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/0.1206, allocations: 273.4 kB / 0.946 GB, free: 4.227 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.1207, allocations: 126.9 kB / 0.9461 GB, free: 4.098 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1207, allocations: 123.2 kB / 0.9462 GB, free: 3.977 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.1207, allocations: 156.6 kB / 0.9464 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.1207, allocations: 0 / 0.9464 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 4.738e-05/0.1208, allocations: 33.75 kB / 0.9464 GB, free: 3.773 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.1208, allocations: 251.7 kB / 0.9467 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.1209, allocations: 157.8 kB / 0.9468 GB, free: 3.324 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.1209, allocations: 37.69 kB / 0.9469 GB, free: 3.281 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.121, allocations: 130.8 kB / 0.947 GB, free: 3.148 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.11e-07/0.121, allocations: 0 / 0.947 GB, free: 3.148 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.121, allocations: 19.38 kB / 0.947 GB, free: 3.121 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.1211, allocations: 496.1 kB / 0.9475 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-06/0.1211, allocations: 0 / 0.9475 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.506e-05/0.1211, allocations: 108.2 kB / 0.9476 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.462e-05/0.1211, allocations: 119.2 kB / 0.9477 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.13e-05/0.1212, allocations: 127.2 kB / 0.9478 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.148e-05/0.1212, allocations: 25.7 kB / 0.9478 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.1212, allocations: 127.2 kB / 0.948 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.1213, allocations: 127.1 kB / 0.9481 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.012e-05/0.1213, allocations: 238.4 kB / 0.9483 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.462e-05/0.1213, allocations: 127.1 kB / 0.9484 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-05/0.1214, allocations: 242.3 kB / 0.9487 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-05/0.1215, allocations: 127.2 kB / 0.9488 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.1215, allocations: 123.1 kB / 0.9489 GB, free: 1.121 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 9.532e-05/0.1216, allocations: 399 kB / 0.9493 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.1216, allocations: 144.9 kB / 0.9494 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.1217, allocations: 160 kB / 0.9496 GB, free: 416 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-05/0.1217, allocations: 268.1 kB / 0.9498 GB, free: 140 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.708e-05/0.1218, allocations: 264.1 kB / 0.9501 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.027e-05/0.1218, allocations: 276 kB / 0.9503 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.122, allocations: 472.5 kB / 0.9508 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.082e-05/0.122, allocations: 160.8 kB / 0.9509 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.122, allocations: 152.9 kB / 0.9511 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.988e-05/0.1221, allocations: 264.1 kB / 0.9513 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.1221, allocations: 272 kB / 0.9516 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-05/0.1222, allocations: 268.1 kB / 0.9518 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.908e-05/0.1222, allocations: 272.3 kB / 0.9521 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.1223, allocations: 455.9 kB / 0.9525 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.1224, allocations: 148.9 kB / 0.9527 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-05/0.1224, allocations: 272.1 kB / 0.9529 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.1225, allocations: 148.8 kB / 0.9531 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.1225, allocations: 268.1 kB / 0.9533 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.1226, allocations: 149.1 kB / 0.9535 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.017e-05/0.1226, allocations: 127.2 kB / 0.9536 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1226, allocations: 3.938 kB / 0.9536 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000151/0.1228, allocations: 4 kB / 0.9536 GB, free: 12.09 MB / 0.9167 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.0001051/0.1229, allocations: 226.3 kB / 0.9538 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 3.847e-05/0.1229, allocations: 8 kB / 0.9538 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1229, allocations: 0 / 0.9538 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.1229, allocations: 0 / 0.9538 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.1232, allocations: 0.7023 MB / 0.9545 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001648/0.1233, allocations: 213.7 kB / 0.9547 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.68e-05/0.1234, allocations: 51.36 kB / 0.9548 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.234e-05/0.1234, allocations: 8 kB / 0.9548 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.1234, allocations: 86.19 kB / 0.9549 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of SimCode: time 3.91e-07/0.1234, allocations: 0 / 0.9549 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of Templates: time 0.00188/0.1253, allocations: 0.5942 MB / 0.9554 GB, free: 10.15 MB / 0.9167 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.0558116948232055]