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.000991/0.0009912, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001203/0.001203, allocations: 168.7 kB / 15.95 MB, free: 204 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.45/1.45, allocations: 223.3 MB / 240 MB, free: 5.312 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.519/2.519, allocations: 390.9 MB / 0.666 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004033, allocations: 23.98 kB / 0.8154 GB, free: 13.55 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8548/0.8553, allocations: 142.4 MB / 0.9544 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001265/0.8566, allocations: 0.9511 MB / 0.9554 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.8583, allocations: 1.18 MB / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.8584, allocations: 0 / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.8584, allocations: 0 / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007286/0.8591, allocations: 170.3 kB / 0.9567 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.8593, allocations: 34.27 kB / 0.9567 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.22e-05/0.8593, allocations: 4.25 kB / 0.9567 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.8594, allocations: 5.391 kB / 0.9567 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.523e-05/0.8594, allocations: 13.23 kB / 0.9567 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03748/0.8969, allocations: 26.63 MB / 0.9827 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.8969, allocations: 0 / 0.9827 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.897, allocations: 0 / 0.9827 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.897, allocations: 0 / 0.9827 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.897, allocations: 29.7 kB / 0.9828 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.294e-05/0.8971, allocations: 7.984 kB / 0.9828 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.8971, allocations: 0 / 0.9828 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8971, allocations: 8 kB / 0.9828 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8971, allocations: 0 / 0.9828 GB, free: 2.438 MB / 0.7325 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.0003078/0.8974, allocations: 320.5 kB / 0.9831 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.8975, allocations: 8.031 kB / 0.9831 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.8976, allocations: 75.28 kB / 0.9832 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.8977, allocations: 242.3 kB / 0.9834 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.169e-05/0.8978, allocations: 150.6 kB / 0.9835 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.8979, allocations: 154.6 kB / 0.9837 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.766e-05/0.8979, allocations: 105 kB / 0.9838 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.898, allocations: 75.28 kB / 0.9839 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.007e-05/0.898, allocations: 154.5 kB / 0.984 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.565e-05/0.8981, allocations: 154.5 kB / 0.9842 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.394e-05/0.8982, allocations: 158.5 kB / 0.9843 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.8985, allocations: 446 kB / 0.9847 GB, free: 296 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.168e-05/0.8986, allocations: 165.1 kB / 0.9849 GB, free: 120 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.8987, allocations: 80.14 kB / 0.985 GB, free: 36 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.492e-05/0.8987, allocations: 83.27 kB / 0.985 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.8988, allocations: 113.8 kB / 0.9852 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.8988, allocations: 0 / 0.9852 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 9.15e-05/0.8989, allocations: 37.69 kB / 0.9852 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.899, allocations: 211.8 kB / 0.9854 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.8991, allocations: 93.86 kB / 0.9855 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.8991, allocations: 25.7 kB / 0.9855 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.8992, allocations: 88.12 kB / 0.9856 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.8992, allocations: 4 kB / 0.9856 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.8992, allocations: 3.938 kB / 0.9856 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.8993, allocations: 314.8 kB / 0.9859 GB, free: 15 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-06/0.8994, allocations: 0 / 0.9859 GB, free: 15 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.981e-05/0.8994, allocations: 18.58 kB / 0.9859 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/0.8994, allocations: 79.28 kB / 0.986 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.45e-05/0.8995, allocations: 83.22 kB / 0.9861 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.808e-05/0.8995, allocations: 25.7 kB / 0.9861 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.8996, allocations: 85.47 kB / 0.9862 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.8996, allocations: 79.27 kB / 0.9863 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.026e-05/0.8997, allocations: 158.5 kB / 0.9864 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.327e-05/0.8997, allocations: 75.28 kB / 0.9865 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-05/0.8998, allocations: 158.5 kB / 0.9866 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.9, allocations: 83.23 kB / 0.9867 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.9, allocations: 79.28 kB / 0.9868 GB, free: 14.08 MB / 0.7481 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.0001476/0.9001, allocations: 268.4 kB / 0.987 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.9002, allocations: 108.9 kB / 0.9871 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.807e-05/0.9003, allocations: 107.9 kB / 0.9872 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.919e-05/0.9003, allocations: 184.2 kB / 0.9874 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.102e-05/0.9004, allocations: 184.2 kB / 0.9876 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.795e-05/0.9005, allocations: 176.3 kB / 0.9878 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.9008, allocations: 405.1 kB / 0.9882 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.501e-05/0.9008, allocations: 117 kB / 0.9883 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.9009, allocations: 104.9 kB / 0.9884 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.674e-05/0.9009, allocations: 180.3 kB / 0.9885 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.89e-05/0.901, allocations: 176.3 kB / 0.9887 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.89e-05/0.9011, allocations: 188.2 kB / 0.9889 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.976e-05/0.9012, allocations: 180.2 kB / 0.9891 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.9013, allocations: 312.1 kB / 0.9894 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.9014, allocations: 178.1 kB / 0.9895 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.293e-05/0.9015, allocations: 188.2 kB / 0.9897 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.9017, allocations: 105 kB / 0.9898 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.9018, allocations: 184.2 kB / 0.99 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.9018, allocations: 101 kB / 0.9901 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.409e-05/0.9019, allocations: 91.27 kB / 0.9902 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9019, allocations: 0 / 0.9902 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002653/0.9021, allocations: 0 / 0.9902 GB, free: 10.39 MB / 0.7481 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.0001328/0.9023, allocations: 182.2 kB / 0.9903 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 4.631e-05/0.9023, allocations: 3.938 kB / 0.9903 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9023, allocations: 0 / 0.9903 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.9023, allocations: 0 / 0.9903 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.9028, allocations: 0.5302 MB / 0.9909 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.903, allocations: 163.9 kB / 0.991 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.9033, allocations: 0.6809 MB / 0.9917 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.9033, allocations: 4 kB / 0.9917 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.143e-05/0.9033, allocations: 11.44 kB / 0.9917 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.9033, allocations: 0 / 0.9917 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of Templates: time 0.002602/0.906, allocations: 457 kB / 0.9921 GB, free: 8.312 MB / 0.7481 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches