Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009146/0.0009146, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009741/0.0009741, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.518/2.518, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004047, allocations: 8 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9159/0.9163, allocations: 142.3 MB / 0.9535 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001307/0.9177, allocations: 0.9396 MB / 0.9544 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.9194, allocations: 1.168 MB / 0.9556 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.9194, allocations: 0 / 0.9556 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.9194, allocations: 1.25 kB / 0.9556 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005528/0.92, allocations: 157.3 kB / 0.9557 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.9201, allocations: 40.03 kB / 0.9558 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.9202, allocations: 8.266 kB / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.9202, allocations: 5.531 kB / 0.9558 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.709e-05/0.9203, allocations: 9.578 kB / 0.9558 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01145/0.9317, allocations: 7.868 MB / 0.9635 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.9318, allocations: 0 / 0.9635 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.9318, allocations: 1.062 kB / 0.9635 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.9318, allocations: 1.188 kB / 0.9635 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.9318, allocations: 26.8 kB / 0.9635 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.769e-05/0.9319, allocations: 10.39 kB / 0.9635 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.9319, allocations: 5.156 kB / 0.9635 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.404e-06/0.9319, allocations: 0 / 0.9635 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.9319, allocations: 0 / 0.9635 GB, free: 3.062 MB / 0.7169 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.0002505/0.9322, allocations: 310.8 kB / 0.9638 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.9322, allocations: 13.48 kB / 0.9638 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.9323, allocations: 89 kB / 0.9639 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.9324, allocations: 241.4 kB / 0.9641 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.9325, allocations: 154.6 kB / 0.9643 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.9325, allocations: 151.5 kB / 0.9644 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.815e-05/0.9325, allocations: 114 kB / 0.9645 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.9326, allocations: 75.28 kB / 0.9646 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.9326, allocations: 151.6 kB / 0.9648 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.9326, allocations: 150.6 kB / 0.9649 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.888e-05/0.9327, allocations: 159.9 kB / 0.9651 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.9329, allocations: 447 kB / 0.9655 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.997e-05/0.9329, allocations: 170 kB / 0.9656 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.9329, allocations: 76.25 kB / 0.9657 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.933, allocations: 111 kB / 0.9658 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.933, allocations: 0 / 0.9658 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.169e-05/0.933, allocations: 27.7 kB / 0.9658 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.9331, allocations: 208.8 kB / 0.966 GB, free: 296 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.9332, allocations: 101.1 kB / 0.9661 GB, free: 188 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.9332, allocations: 26.89 kB / 0.9662 GB, free: 156 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.9332, allocations: 81.23 kB / 0.9662 GB, free: 72 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.9333, allocations: 4 kB / 0.9663 GB, free: 68 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.9333, allocations: 5.062 kB / 0.9663 GB, free: 64 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9334, allocations: 318.8 kB / 0.9666 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.9334, allocations: 1 kB / 0.9666 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.789e-05/0.9334, allocations: 21.72 kB / 0.9666 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.185e-05/0.9335, allocations: 76.5 kB / 0.9667 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.603e-05/0.9335, allocations: 75.28 kB / 0.9667 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.474e-05/0.9336, allocations: 37.59 kB / 0.9668 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.9336, allocations: 79.28 kB / 0.9668 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.9336, allocations: 81.03 kB / 0.9669 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.843e-05/0.9337, allocations: 151.9 kB / 0.9671 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.581e-05/0.9337, allocations: 83.22 kB / 0.9671 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.413e-05/0.9338, allocations: 155.9 kB / 0.9673 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.9339, allocations: 82.09 kB / 0.9674 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.934, allocations: 80.69 kB / 0.9674 GB, free: 14.84 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.9341, allocations: 264.3 kB / 0.9677 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.9342, allocations: 106.3 kB / 0.9678 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.875e-05/0.9343, allocations: 116.9 kB / 0.9679 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.057e-05/0.9343, allocations: 181.3 kB / 0.9681 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.118e-05/0.9344, allocations: 177.3 kB / 0.9683 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.039e-05/0.9345, allocations: 181.3 kB / 0.9684 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.9347, allocations: 408.4 kB / 0.9688 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.504e-05/0.9347, allocations: 104.9 kB / 0.9689 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.9348, allocations: 102.3 kB / 0.969 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.986e-05/0.9348, allocations: 185.6 kB / 0.9692 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.748e-05/0.9349, allocations: 181.6 kB / 0.9694 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-05/0.935, allocations: 184.3 kB / 0.9695 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.108e-05/0.9351, allocations: 189.7 kB / 0.9697 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.9352, allocations: 312.4 kB / 0.97 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.9353, allocations: 184.2 kB / 0.9702 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/0.9354, allocations: 181.7 kB / 0.9704 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.9355, allocations: 111.7 kB / 0.9705 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.9356, allocations: 177.2 kB / 0.9706 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.9356, allocations: 113.9 kB / 0.9707 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.9357, allocations: 81.31 kB / 0.9708 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9357, allocations: 0 / 0.9708 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002462/0.9359, allocations: 7.5 kB / 0.9708 GB, free: 11.17 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001537/0.9361, allocations: 171.7 kB / 0.971 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.363e-05/0.9362, allocations: 6.891 kB / 0.971 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9362, allocations: 0 / 0.971 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.9362, allocations: 0 / 0.971 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.9365, allocations: 0.5286 MB / 0.9715 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.9368, allocations: 168.8 kB / 0.9717 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.937, allocations: 0.6758 MB / 0.9723 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.9371, allocations: 6.281 kB / 0.9723 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.093e-05/0.9371, allocations: 8.5 kB / 0.9724 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.9371, allocations: 1 kB / 0.9724 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of Templates: time 0.002683/0.9398, allocations: 448.4 kB / 0.9728 GB, free: 9.352 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches