Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009034/0.0009034, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.000891/0.000891, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.8705/0.8705, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.702/1.702, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_11_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_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.62e-07/8.62e-07, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.198e-06/1.006e-05, allocations: 4.844 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001347/0.001357, allocations: 1.294 MB / 0.7896 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.002554, allocations: 1.365 MB / 0.7909 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.002571, allocations: 0 / 0.7909 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.002583, allocations: 0 / 0.7909 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.003072, allocations: 220.2 kB / 0.7911 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.015e-05/0.003132, allocations: 28.52 kB / 0.7911 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.625e-05/0.003168, allocations: 16.61 kB / 0.7912 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.783e-05/0.003196, allocations: 8 kB / 0.7912 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.362e-05/0.00322, allocations: 8.891 kB / 0.7912 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1211/0.1244, allocations: 51.69 MB / 0.8416 GB, free: 9.914 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1244, allocations: 0 / 0.8416 GB, free: 9.914 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.1244, allocations: 8 kB / 0.8416 GB, free: 9.906 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.1244, allocations: 0 / 0.8416 GB, free: 9.906 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.1244, allocations: 7.984 kB / 0.8417 GB, free: 9.898 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.1245, allocations: 19.86 kB / 0.8417 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1245, allocations: 0 / 0.8417 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1245, allocations: 0 / 0.8417 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1245, allocations: 0 / 0.8417 GB, free: 9.879 MB / 0.7917 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.0002386/0.1248, allocations: 340.7 kB / 0.842 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1248, allocations: 15.97 kB / 0.842 GB, free: 9.496 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.1249, allocations: 124.1 kB / 0.8421 GB, free: 9.375 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.859e-05/0.125, allocations: 231.8 kB / 0.8424 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.125, allocations: 242.8 kB / 0.8426 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.1251, allocations: 238.8 kB / 0.8428 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.171e-05/0.1251, allocations: 145.5 kB / 0.843 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.1251, allocations: 119.4 kB / 0.8431 GB, free: 8.383 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.1252, allocations: 250.5 kB / 0.8433 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.307e-05/0.1252, allocations: 242.3 kB / 0.8435 GB, free: 7.898 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.514e-05/0.1253, allocations: 238.4 kB / 0.8438 GB, free: 7.664 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.1255, allocations: 0.5531 MB / 0.8443 GB, free: 7.086 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.686e-05/0.1256, allocations: 269.4 kB / 0.8446 GB, free: 6.809 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.1256, allocations: 130.9 kB / 0.8447 GB, free: 6.676 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.1256, allocations: 131.1 kB / 0.8448 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.1256, allocations: 152.6 kB / 0.845 GB, free: 6.387 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1256, allocations: 0 / 0.845 GB, free: 6.387 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 5.227e-05/0.1257, allocations: 33.75 kB / 0.845 GB, free: 6.348 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.1258, allocations: 247.7 kB / 0.8452 GB, free: 6.074 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/0.1258, allocations: 165.8 kB / 0.8454 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.1259, allocations: 25.7 kB / 0.8454 GB, free: 5.863 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.1259, allocations: 130.9 kB / 0.8455 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.12e-07/0.1259, allocations: 0 / 0.8455 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.1259, allocations: 23.38 kB / 0.8456 GB, free: 5.699 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.126, allocations: 492.1 kB / 0.846 GB, free: 5.207 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-06/0.126, allocations: 4 kB / 0.846 GB, free: 5.203 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.792e-05/0.1261, allocations: 112.1 kB / 0.8461 GB, free: 5.062 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.516e-05/0.1261, allocations: 119.2 kB / 0.8462 GB, free: 4.945 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-05/0.1261, allocations: 119.2 kB / 0.8464 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.171e-05/0.1262, allocations: 29.7 kB / 0.8464 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.1262, allocations: 123.2 kB / 0.8465 GB, free: 4.672 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/0.1262, allocations: 127.1 kB / 0.8466 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.526e-05/0.1263, allocations: 238.5 kB / 0.8469 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.741e-05/0.1263, allocations: 127.2 kB / 0.847 GB, free: 4.188 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.883e-05/0.1264, allocations: 254.2 kB / 0.8472 GB, free: 3.938 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1265, allocations: 119.2 kB / 0.8473 GB, free: 3.82 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.1266, allocations: 127.1 kB / 0.8475 GB, free: 3.695 MB / 0.7917 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.0001094/0.1267, allocations: 398.9 kB / 0.8478 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.1267, allocations: 148.9 kB / 0.848 GB, free: 3.141 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.1268, allocations: 152 kB / 0.8481 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.994e-05/0.1269, allocations: 280 kB / 0.8484 GB, free: 2.703 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.507e-05/0.1269, allocations: 264.1 kB / 0.8486 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.378e-05/0.127, allocations: 272 kB / 0.8489 GB, free: 2.164 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.1272, allocations: 480.5 kB / 0.8494 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/0.1272, allocations: 144.9 kB / 0.8495 GB, free: 1.512 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.1272, allocations: 152.8 kB / 0.8496 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-05/0.1273, allocations: 268.1 kB / 0.8499 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.1274, allocations: 272 kB / 0.8502 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.106e-05/0.1275, allocations: 268.1 kB / 0.8504 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.904e-05/0.1275, allocations: 268.1 kB / 0.8507 GB, free: 280 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.1277, allocations: 447.9 kB / 0.8511 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.1277, allocations: 156.8 kB / 0.8512 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.1278, allocations: 268.1 kB / 0.8515 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.1278, allocations: 152.9 kB / 0.8516 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.1279, allocations: 268.3 kB / 0.8519 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.1279, allocations: 148.9 kB / 0.852 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.128, allocations: 127.2 kB / 0.8522 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.128, allocations: 0 / 0.8522 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001575/0.1281, allocations: 4 kB / 0.8522 GB, free: 14.67 MB / 0.8073 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.0001196/0.1282, allocations: 218.4 kB / 0.8524 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.497e-05/0.1283, allocations: 11.95 kB / 0.8524 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1283, allocations: 4 kB / 0.8524 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.1283, allocations: 0 / 0.8524 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1286, allocations: 0.7062 MB / 0.8531 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001919/0.1288, allocations: 213.6 kB / 0.8533 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.696e-05/0.1288, allocations: 55.36 kB / 0.8533 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.59e-05/0.1288, allocations: 4 kB / 0.8533 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.1289, allocations: 86.19 kB / 0.8534 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of SimCode: time 4.21e-07/0.1289, allocations: 0 / 0.8534 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.001936/0.1308, allocations: 0.606 MB / 0.854 GB, free: 12.71 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.716621816158295]