Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 443.4 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 75.88 kB / 1.059 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2964, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002256/0.2987, allocations: 1.238 MB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3007, allocations: 1.335 MB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.3007, allocations: 0 / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.3008, allocations: 0 / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006768/0.3014, allocations: 215.2 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001065/0.3015, allocations: 35.81 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.102e-05/0.3016, allocations: 15.94 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.3016, allocations: 4 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.021e-05/0.3017, allocations: 8 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2711/0.5728, allocations: 31 MB / 1.249 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.5728, allocations: 0 / 1.249 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.5728, allocations: 0 / 1.249 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.5729, allocations: 4 kB / 1.249 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.5729, allocations: 7.938 kB / 1.249 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.5731, allocations: 11.97 kB / 1.249 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.5731, allocations: 0 / 1.249 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.188e-06/0.5731, allocations: 0 / 1.249 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.5731, allocations: 4 kB / 1.249 GB, free: 0.4961 MB / 0.9825 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.0005411/0.5737, allocations: 327.5 kB / 1.25 GB, free: 132 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.5737, allocations: 12.03 kB / 1.25 GB, free: 120 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.759e-05/0.5738, allocations: 76.22 kB / 1.25 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.5741, allocations: 235.7 kB / 1.25 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/0.5741, allocations: 150.9 kB / 1.25 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.5742, allocations: 158.9 kB / 1.25 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.5743, allocations: 113.1 kB / 1.25 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.045e-05/0.5744, allocations: 75.28 kB / 1.25 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.5745, allocations: 154.6 kB / 1.25 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.962e-05/0.5746, allocations: 154.5 kB / 1.251 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-05/0.5746, allocations: 154.5 kB / 1.251 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.575, allocations: 446 kB / 1.251 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.5751, allocations: 173.1 kB / 1.251 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.5752, allocations: 80.14 kB / 1.251 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.5752, allocations: 75.28 kB / 1.251 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.369e-05/0.5753, allocations: 121.8 kB / 1.252 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.5753, allocations: 0 / 1.252 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001289/0.5754, allocations: 33.59 kB / 1.252 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/0.5756, allocations: 207.8 kB / 1.252 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.5757, allocations: 97.84 kB / 1.252 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.5758, allocations: 29.7 kB / 1.252 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.5758, allocations: 80.14 kB / 1.252 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.5758, allocations: 0 / 1.252 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.5759, allocations: 21.7 kB / 1.252 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.576, allocations: 314.8 kB / 1.252 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-06/0.576, allocations: 0 / 1.252 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.5761, allocations: 22.52 kB / 1.252 GB, free: 13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.819e-05/0.5761, allocations: 75.28 kB / 1.252 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.625e-05/0.5762, allocations: 75.28 kB / 1.252 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.12e-05/0.5762, allocations: 41.56 kB / 1.253 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.702e-05/0.5763, allocations: 83.28 kB / 1.253 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.285e-05/0.5764, allocations: 83.28 kB / 1.253 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-05/0.5764, allocations: 150.6 kB / 1.253 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.002e-05/0.5765, allocations: 79.22 kB / 1.253 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.722e-05/0.5766, allocations: 154.6 kB / 1.253 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.5768, allocations: 87.2 kB / 1.253 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.5768, allocations: 79.28 kB / 1.253 GB, free: 12.1 MB / 0.9981 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.0001552/0.577, allocations: 264.4 kB / 1.253 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.46e-05/0.577, allocations: 104.9 kB / 1.254 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.5771, allocations: 112 kB / 1.254 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.158e-05/0.5772, allocations: 180.2 kB / 1.254 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.884e-05/0.5773, allocations: 184.2 kB / 1.254 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.675e-05/0.5774, allocations: 176.3 kB / 1.254 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.5777, allocations: 405.2 kB / 1.255 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.752e-05/0.5777, allocations: 104.9 kB / 1.255 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.5777, allocations: 104.9 kB / 1.255 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.2e-05/0.5778, allocations: 188.1 kB / 1.255 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.718e-05/0.5779, allocations: 184.3 kB / 1.255 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.887e-05/0.578, allocations: 180.2 kB / 1.255 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.396e-05/0.578, allocations: 184.2 kB / 1.255 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.5782, allocations: 307.8 kB / 1.256 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/0.5783, allocations: 190 kB / 1.256 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-05/0.5784, allocations: 176.3 kB / 1.256 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.5786, allocations: 112.9 kB / 1.256 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.5786, allocations: 176.7 kB / 1.256 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.5787, allocations: 112.9 kB / 1.257 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.5787, allocations: 79.28 kB / 1.257 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.5787, allocations: 0 / 1.257 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003068/0.579, allocations: 8 kB / 1.257 GB, free: 8.414 MB / 0.9981 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.0001506/0.5792, allocations: 174.5 kB / 1.257 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.153e-05/0.5792, allocations: 0 / 1.257 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5792, allocations: 0 / 1.257 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.5792, allocations: 0 / 1.257 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.5797, allocations: 467.6 kB / 1.257 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.58, allocations: 180.8 kB / 1.257 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.5802, allocations: 0.669 MB / 1.258 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.122e-05/0.5803, allocations: 4 kB / 1.258 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.212e-05/0.5803, allocations: 11.38 kB / 1.258 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.5803, allocations: 0 / 1.258 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of Templates: time 0.004796/0.5851, allocations: 0.4981 MB / 1.259 GB, free: 6.359 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.83269657380879]