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.001543/0.001543, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.00171/0.00171, allocations: 192 kB / 17.31 MB, free: 5.18 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.207/2.207, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001482, allocations: 65.06 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2321, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002446/0.2346, allocations: 1.228 MB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2363, allocations: 1.251 MB / 0.9536 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.2364, allocations: 0 / 0.9536 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.2364, allocations: 4 kB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006121/0.237, allocations: 207.3 kB / 0.9538 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.2372, allocations: 35.89 kB / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.792e-05/0.2372, allocations: 11.97 kB / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.2373, allocations: 11.94 kB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.2373, allocations: 7.938 kB / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1902/0.4274, allocations: 30.9 MB / 0.984 GB, free: 9.227 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.4275, allocations: 0 / 0.984 GB, free: 9.227 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.4275, allocations: 0 / 0.984 GB, free: 9.227 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.4275, allocations: 15.92 kB / 0.984 GB, free: 9.211 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.4275, allocations: 0 / 0.984 GB, free: 9.211 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.78e-05/0.4277, allocations: 15.92 kB / 0.984 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.4277, allocations: 0 / 0.984 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4277, allocations: 4 kB / 0.984 GB, free: 9.191 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.4277, allocations: 0 / 0.984 GB, free: 9.191 MB / 0.7637 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.0002689/0.428, allocations: 319.5 kB / 0.9843 GB, free: 8.832 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.428, allocations: 12.03 kB / 0.9843 GB, free: 8.82 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.4281, allocations: 80.22 kB / 0.9844 GB, free: 8.742 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.4282, allocations: 243.6 kB / 0.9847 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.4282, allocations: 150.9 kB / 0.9848 GB, free: 8.316 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.4283, allocations: 154.9 kB / 0.9849 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.053e-05/0.4284, allocations: 109.1 kB / 0.9851 GB, free: 8.051 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.4284, allocations: 75.28 kB / 0.9851 GB, free: 7.977 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.4284, allocations: 154.6 kB / 0.9853 GB, free: 7.824 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.4285, allocations: 154.5 kB / 0.9854 GB, free: 7.672 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.565e-05/0.4285, allocations: 154.5 kB / 0.9856 GB, free: 7.52 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.4288, allocations: 446 kB / 0.986 GB, free: 7.035 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.971e-05/0.4289, allocations: 169.1 kB / 0.9862 GB, free: 6.859 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.4289, allocations: 84.19 kB / 0.9862 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.4289, allocations: 83.27 kB / 0.9863 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.429, allocations: 117.7 kB / 0.9864 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.429, allocations: 0 / 0.9864 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 6.857e-05/0.4291, allocations: 29.7 kB / 0.9865 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.4292, allocations: 203.8 kB / 0.9866 GB, free: 6.301 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.211e-05/0.4293, allocations: 101.9 kB / 0.9867 GB, free: 6.191 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.4293, allocations: 29.7 kB / 0.9868 GB, free: 6.156 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.4293, allocations: 88.11 kB / 0.9869 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.4293, allocations: 0 / 0.9869 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.4294, allocations: 13.72 kB / 0.9869 GB, free: 6.047 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.725e-05/0.4295, allocations: 314.8 kB / 0.9872 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-06/0.4295, allocations: 0 / 0.9872 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.4295, allocations: 26.52 kB / 0.9872 GB, free: 5.695 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.4295, allocations: 79.27 kB / 0.9873 GB, free: 5.617 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.4296, allocations: 79.22 kB / 0.9873 GB, free: 5.539 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.847e-05/0.4296, allocations: 33.64 kB / 0.9874 GB, free: 5.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.4297, allocations: 79.28 kB / 0.9875 GB, free: 5.422 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.4297, allocations: 79.28 kB / 0.9875 GB, free: 5.344 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.808e-05/0.4297, allocations: 154.5 kB / 0.9877 GB, free: 5.191 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.508e-05/0.4298, allocations: 83.28 kB / 0.9878 GB, free: 5.109 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.036e-05/0.4298, allocations: 158.5 kB / 0.9879 GB, free: 4.953 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.43, allocations: 83.27 kB / 0.988 GB, free: 4.871 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.43, allocations: 75.28 kB / 0.9881 GB, free: 4.797 MB / 0.7637 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 9.962e-05/0.4301, allocations: 264.3 kB / 0.9883 GB, free: 4.527 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.4302, allocations: 112.8 kB / 0.9884 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.4302, allocations: 116.1 kB / 0.9885 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.075e-05/0.4303, allocations: 180.2 kB / 0.9887 GB, free: 4.105 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.873e-05/0.4303, allocations: 176.3 kB / 0.9889 GB, free: 3.926 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.637e-05/0.4304, allocations: 180.2 kB / 0.989 GB, free: 3.742 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.4306, allocations: 409.2 kB / 0.9894 GB, free: 3.285 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-05/0.4306, allocations: 105 kB / 0.9895 GB, free: 3.176 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.4307, allocations: 112.9 kB / 0.9896 GB, free: 3.059 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.746e-05/0.4307, allocations: 176.3 kB / 0.9898 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/0.4308, allocations: 184.2 kB / 0.99 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.853e-05/0.4308, allocations: 176.3 kB / 0.9902 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.743e-05/0.4309, allocations: 188.3 kB / 0.9903 GB, free: 2.32 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.431, allocations: 300 kB / 0.9906 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.4311, allocations: 193.9 kB / 0.9908 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.4311, allocations: 184.2 kB / 0.991 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.4313, allocations: 109 kB / 0.9911 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.4313, allocations: 184.2 kB / 0.9913 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.4314, allocations: 105 kB / 0.9914 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 3.305e-05/0.4314, allocations: 75.28 kB / 0.9914 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4314, allocations: 0 / 0.9914 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0002615/0.4317, allocations: 4 kB / 0.9914 GB, free: 1.113 MB / 0.7637 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.0001134/0.4318, allocations: 182.5 kB / 0.9916 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 4.36e-05/0.4318, allocations: 3.938 kB / 0.9916 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4319, allocations: 0 / 0.9916 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.4319, allocations: 0 / 0.9916 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.4322, allocations: 461.4 kB / 0.9921 GB, free: 480 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.4324, allocations: 168.7 kB / 0.9922 GB, free: 284 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.4327, allocations: 0.6766 MB / 0.9929 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.017e-05/0.4327, allocations: 7.984 kB / 0.9929 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.042e-05/0.4327, allocations: 7.438 kB / 0.9929 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.4327, allocations: 0 / 0.9929 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of Templates: time 0.003874/0.4366, allocations: 0.4908 MB / 0.9934 GB, free: 15.07 MB / 0.7794 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 -s gbode -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/jenkins1/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