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.0008874/0.0008873, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005831/0.005831, allocations: 171.5 kB / 16.27 MB, free: 6.648 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.361/1.361, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.375/2.375, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7705/0.7709, allocations: 142.4 MB / 0.955 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001416/0.7724, allocations: 0.9644 MB / 0.956 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.7743, allocations: 1.229 MB / 0.9572 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.7743, allocations: 1.719 kB / 0.9572 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.7743, allocations: 0 / 0.9572 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006356/0.775, allocations: 167.6 kB / 0.9573 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.7751, allocations: 37.61 kB / 0.9574 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.344e-05/0.7752, allocations: 15.42 kB / 0.9574 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.7752, allocations: 1.438 kB / 0.9574 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.846e-05/0.7753, allocations: 8.656 kB / 0.9574 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4498/1.225, allocations: 28.17 MB / 0.9849 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/1.225, allocations: 0 / 0.9849 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/1.225, allocations: 0 / 0.9849 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/1.225, allocations: 7.938 kB / 0.9849 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/1.225, allocations: 29.69 kB / 0.985 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.195e-05/1.225, allocations: 7.984 kB / 0.985 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/1.225, allocations: 8 kB / 0.985 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.775e-06/1.225, allocations: 0 / 0.985 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.388e-06/1.225, allocations: 0 / 0.985 GB, free: 3.184 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.0003361/1.226, allocations: 319.5 kB / 0.9853 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.226, allocations: 8.031 kB / 0.9853 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.647e-05/1.226, allocations: 76.22 kB / 0.9854 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/1.226, allocations: 243.7 kB / 0.9856 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.398e-05/1.226, allocations: 154.9 kB / 0.9857 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/1.226, allocations: 150.9 kB / 0.9859 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.31e-05/1.226, allocations: 105.1 kB / 0.986 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/1.226, allocations: 75.28 kB / 0.986 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/1.226, allocations: 154.5 kB / 0.9862 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-05/1.226, allocations: 158.5 kB / 0.9863 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.009e-05/1.226, allocations: 162.5 kB / 0.9865 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/1.227, allocations: 438 kB / 0.9869 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.876e-05/1.227, allocations: 173.1 kB / 0.9871 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/1.227, allocations: 84.08 kB / 0.9872 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/1.227, allocations: 83.28 kB / 0.9872 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/1.227, allocations: 109.8 kB / 0.9873 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/1.227, allocations: 0 / 0.9873 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.603e-05/1.227, allocations: 29.69 kB / 0.9874 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.227, allocations: 207.8 kB / 0.9876 GB, free: 308 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/1.227, allocations: 97.86 kB / 0.9877 GB, free: 200 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/1.227, allocations: 25.7 kB / 0.9877 GB, free: 168 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/1.227, allocations: 84.14 kB / 0.9878 GB, free: 80 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/1.227, allocations: 0 / 0.9878 GB, free: 80 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/1.227, allocations: 9.719 kB / 0.9878 GB, free: 64 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.228, allocations: 318.8 kB / 0.9881 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/1.228, allocations: 0 / 0.9881 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.82e-05/1.228, allocations: 22.52 kB / 0.9881 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/1.228, allocations: 79.28 kB / 0.9882 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.948e-05/1.228, allocations: 79.28 kB / 0.9883 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.769e-05/1.228, allocations: 29.64 kB / 0.9883 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/1.228, allocations: 83.28 kB / 0.9884 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/1.228, allocations: 79.22 kB / 0.9884 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.08e-05/1.228, allocations: 154.5 kB / 0.9886 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.711e-05/1.228, allocations: 79.33 kB / 0.9887 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.066e-05/1.228, allocations: 162.5 kB / 0.9888 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/1.228, allocations: 79.28 kB / 0.9889 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/1.228, allocations: 83.22 kB / 0.989 GB, free: 14.81 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.0001237/1.228, allocations: 260.4 kB / 0.9892 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/1.228, allocations: 108.9 kB / 0.9893 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/1.228, allocations: 111.9 kB / 0.9894 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-05/1.229, allocations: 184.2 kB / 0.9896 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.279e-05/1.229, allocations: 180.3 kB / 0.9898 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.418e-05/1.229, allocations: 184.2 kB / 0.99 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/1.229, allocations: 397.2 kB / 0.9903 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.894e-05/1.229, allocations: 109 kB / 0.9904 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/1.229, allocations: 112.8 kB / 0.9905 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-05/1.229, allocations: 180.3 kB / 0.9907 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/1.229, allocations: 180.2 kB / 0.9909 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.078e-05/1.229, allocations: 184.3 kB / 0.9911 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-05/1.229, allocations: 180.3 kB / 0.9912 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/1.229, allocations: 311.8 kB / 0.9915 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/1.229, allocations: 190.3 kB / 0.9917 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.928e-05/1.23, allocations: 184.3 kB / 0.9919 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/1.23, allocations: 105 kB / 0.992 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/1.23, allocations: 188.4 kB / 0.9922 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/1.23, allocations: 109 kB / 0.9923 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.186e-05/1.23, allocations: 83.27 kB / 0.9924 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/1.23, allocations: 0 / 0.9924 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002498/1.23, allocations: 0 / 0.9924 GB, free: 11.12 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.000159/1.23, allocations: 186.5 kB / 0.9925 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.242e-05/1.23, allocations: 3.938 kB / 0.9925 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.23, allocations: 0 / 0.9925 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/1.23, allocations: 0 / 0.9925 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/1.231, allocations: 0.5263 MB / 0.9931 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/1.231, allocations: 164 kB / 0.9932 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/1.231, allocations: 0.677 MB / 0.9939 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.496e-05/1.231, allocations: 4 kB / 0.9939 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-06/1.231, allocations: 11.44 kB / 0.9939 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/1.231, allocations: 0 / 0.9939 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of Templates: time 0.00265/1.234, allocations: 486.3 kB / 0.9943 GB, free: 9.008 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