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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00108/0.00108, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.2 MB / 0.6646 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5516/0.5529, allocations: 140.4 MB / 0.9496 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001933/0.5548, allocations: 1.227 MB / 0.9508 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.5563, allocations: 1.249 MB / 0.952 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.657e-05/0.5563, allocations: 0 / 0.952 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.5563, allocations: 1.688 kB / 0.952 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005386/0.5569, allocations: 218.6 kB / 0.9522 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.933e-05/0.557, allocations: 39.98 kB / 0.9522 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.864e-05/0.557, allocations: 11.89 kB / 0.9523 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.557, allocations: 1.281 kB / 0.9523 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.819e-05/0.5571, allocations: 5.125 kB / 0.9523 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1788/0.7359, allocations: 30.63 MB / 0.9822 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.7359, allocations: 0 / 0.9822 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.7359, allocations: 0 / 0.9822 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.736, allocations: 15.91 kB / 0.9822 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.736, allocations: 0 / 0.9822 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.442e-05/0.7361, allocations: 11.94 kB / 0.9822 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.7361, allocations: 8 kB / 0.9822 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7361, allocations: 4 kB / 0.9822 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.7361, allocations: 3.938 kB / 0.9822 GB, free: 3.043 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.0002863/0.7364, allocations: 316.3 kB / 0.9825 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.7365, allocations: 12.03 kB / 0.9825 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.7365, allocations: 76.22 kB / 0.9826 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.7367, allocations: 243.7 kB / 0.9828 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.7367, allocations: 154.9 kB / 0.983 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.7368, allocations: 154.9 kB / 0.9831 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.76e-05/0.7369, allocations: 105.1 kB / 0.9832 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.7369, allocations: 75.28 kB / 0.9833 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.737, allocations: 154.5 kB / 0.9835 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/0.737, allocations: 150.6 kB / 0.9836 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.566e-05/0.7371, allocations: 158.5 kB / 0.9837 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.7374, allocations: 449.9 kB / 0.9842 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.329e-05/0.7375, allocations: 165.1 kB / 0.9843 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.7375, allocations: 80.14 kB / 0.9844 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.7376, allocations: 79.28 kB / 0.9845 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/0.7376, allocations: 121.7 kB / 0.9846 GB, free: 440 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.7376, allocations: 0 / 0.9846 GB, free: 440 kB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.716e-05/0.7377, allocations: 25.7 kB / 0.9846 GB, free: 408 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/0.7378, allocations: 207.8 kB / 0.9848 GB, free: 168 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.7379, allocations: 93.84 kB / 0.9849 GB, free: 64 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.738, allocations: 33.7 kB / 0.9849 GB, free: 24 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.738, allocations: 84.14 kB / 0.985 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.738, allocations: 0 / 0.985 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.7381, allocations: 13.72 kB / 0.985 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7382, allocations: 314.8 kB / 0.9853 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-06/0.7382, allocations: 0 / 0.9853 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.24e-05/0.7382, allocations: 26.52 kB / 0.9854 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.7383, allocations: 75.28 kB / 0.9854 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.356e-05/0.7383, allocations: 79.28 kB / 0.9855 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.097e-05/0.7384, allocations: 33.88 kB / 0.9855 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.7384, allocations: 79.28 kB / 0.9856 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.7385, allocations: 79.28 kB / 0.9857 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.824e-05/0.7385, allocations: 158.5 kB / 0.9858 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.915e-05/0.7386, allocations: 75.39 kB / 0.9859 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.561e-05/0.7386, allocations: 158.5 kB / 0.9861 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.7388, allocations: 95.31 kB / 0.9862 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.7388, allocations: 75.28 kB / 0.9862 GB, free: 14.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.7389, allocations: 260.4 kB / 0.9865 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.739, allocations: 112.8 kB / 0.9866 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.7391, allocations: 111.9 kB / 0.9867 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.998e-05/0.7391, allocations: 188.2 kB / 0.9869 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-05/0.7392, allocations: 180.2 kB / 0.987 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.736e-05/0.7392, allocations: 180.3 kB / 0.9872 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.7395, allocations: 405.2 kB / 0.9876 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-05/0.7395, allocations: 104.9 kB / 0.9877 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.7395, allocations: 120.8 kB / 0.9878 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.016e-05/0.7396, allocations: 180.3 kB / 0.988 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/0.7397, allocations: 176.3 kB / 0.9882 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.815e-05/0.7397, allocations: 180.2 kB / 0.9883 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.135e-05/0.7398, allocations: 180.3 kB / 0.9885 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.7399, allocations: 315.7 kB / 0.9888 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/0.74, allocations: 190 kB / 0.989 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.901e-05/0.7401, allocations: 176.3 kB / 0.9892 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.7402, allocations: 113 kB / 0.9893 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.7403, allocations: 180.2 kB / 0.9894 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.7404, allocations: 109 kB / 0.9895 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.7404, allocations: 75.28 kB / 0.9896 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7404, allocations: 0 / 0.9896 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002604/0.7407, allocations: 4 kB / 0.9896 GB, free: 10.97 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 (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.0001325/0.7408, allocations: 178.5 kB / 0.9898 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.138e-05/0.7409, allocations: 7.938 kB / 0.9898 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7409, allocations: 0 / 0.9898 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.7409, allocations: 4 kB / 0.9898 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.7412, allocations: 455.7 kB / 0.9902 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.7415, allocations: 168.8 kB / 0.9904 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.7418, allocations: 0.6766 MB / 0.9911 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.449e-05/0.7418, allocations: 8 kB / 0.9911 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-06/0.7418, allocations: 7.438 kB / 0.9911 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.7418, allocations: 0 / 0.9911 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of Templates: time 0.00449/0.7463, allocations: 0.4957 MB / 0.9915 GB, free: 8.926 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