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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_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.008101/0.008101, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001869/0.001869, allocations: 188.9 kB / 16.67 MB, free: 5.934 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.451/2.451, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7921/0.7933, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002048/0.7954, allocations: 1.233 MB / 1.168 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.7971, allocations: 1.252 MB / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.912e-05/0.7972, allocations: 4 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.7972, allocations: 0 / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0006468/0.7979, allocations: 219.2 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.798, allocations: 30.83 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.451e-05/0.798, allocations: 19.92 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.7981, allocations: 0 / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.296e-05/0.7981, allocations: 11.98 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1939/0.992, allocations: 30.91 MB / 1.199 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.992, allocations: 0 / 1.199 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.9921, allocations: 4 kB / 1.199 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.9921, allocations: 0 / 1.199 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.9921, allocations: 8 kB / 1.199 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.9922, allocations: 4 kB / 1.199 GB, free: 4.477 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.9923, allocations: 3.984 kB / 1.199 GB, free: 4.473 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9923, allocations: 3.938 kB / 1.199 GB, free: 4.469 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.9923, allocations: 0 / 1.199 GB, free: 4.469 MB / 0.92 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.0002877/0.9926, allocations: 325.7 kB / 1.2 GB, free: 4.105 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.9926, allocations: 12.03 kB / 1.2 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.794e-05/0.9927, allocations: 76.22 kB / 1.2 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.9928, allocations: 247.6 kB / 1.2 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.9929, allocations: 150.9 kB / 1.2 GB, free: 3.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.9929, allocations: 154.9 kB / 1.2 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.404e-05/0.993, allocations: 105.1 kB / 1.201 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.993, allocations: 83.22 kB / 1.201 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.9931, allocations: 150.6 kB / 1.201 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-05/0.9931, allocations: 158.6 kB / 1.201 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.705e-05/0.9932, allocations: 150.6 kB / 1.201 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.9935, allocations: 441.9 kB / 1.201 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.035e-05/0.9935, allocations: 177.1 kB / 1.202 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.9936, allocations: 84.14 kB / 1.202 GB, free: 2.043 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.9936, allocations: 75.28 kB / 1.202 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/0.9937, allocations: 109.8 kB / 1.202 GB, free: 1.852 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.9937, allocations: 0 / 1.202 GB, free: 1.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.134e-05/0.9938, allocations: 41.59 kB / 1.202 GB, free: 1.805 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.9938, allocations: 203.8 kB / 1.202 GB, free: 1.574 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.9939, allocations: 101.8 kB / 1.202 GB, free: 1.465 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.994, allocations: 25.7 kB / 1.202 GB, free: 1.434 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.994, allocations: 80.14 kB / 1.202 GB, free: 1.352 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.994, allocations: 0 / 1.202 GB, free: 1.352 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.994, allocations: 17.72 kB / 1.202 GB, free: 1.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.9941, allocations: 314.8 kB / 1.203 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-06/0.9942, allocations: 4 kB / 1.203 GB, free: 1.008 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.9942, allocations: 18.58 kB / 1.203 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.445e-05/0.9942, allocations: 75.28 kB / 1.203 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.738e-05/0.9943, allocations: 79.28 kB / 1.203 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.726e-05/0.9943, allocations: 33.58 kB / 1.203 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.9944, allocations: 83.28 kB / 1.203 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/0.9944, allocations: 79.36 kB / 1.203 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.87e-05/0.9945, allocations: 162.5 kB / 1.203 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.29e-05/0.9945, allocations: 83.27 kB / 1.203 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.198e-05/0.9946, allocations: 158.5 kB / 1.203 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.9947, allocations: 79.22 kB / 1.203 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.9948, allocations: 79.28 kB / 1.204 GB, free: 76 kB / 0.92 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.0001225/0.9949, allocations: 268.4 kB / 1.204 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.995, allocations: 109.2 kB / 1.204 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.995, allocations: 116 kB / 1.204 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-05/0.9951, allocations: 176.3 kB / 1.204 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.383e-05/0.9951, allocations: 184.2 kB / 1.204 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.853e-05/0.9952, allocations: 184.2 kB / 1.205 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.9954, allocations: 397.2 kB / 1.205 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.492e-05/0.9954, allocations: 108.9 kB / 1.205 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.046e-05/0.9955, allocations: 108.9 kB / 1.205 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.323e-05/0.9955, allocations: 180.2 kB / 1.205 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/0.9956, allocations: 180.3 kB / 1.205 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.962e-05/0.9956, allocations: 184.3 kB / 1.206 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-05/0.9957, allocations: 184.1 kB / 1.206 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.9958, allocations: 311.8 kB / 1.206 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.9959, allocations: 182 kB / 1.206 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.676e-05/0.996, allocations: 188.2 kB / 1.206 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.9961, allocations: 105 kB / 1.207 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.9962, allocations: 180.3 kB / 1.207 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.9962, allocations: 104.9 kB / 1.207 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.535e-05/0.9963, allocations: 83.28 kB / 1.207 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9963, allocations: 0 / 1.207 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002488/0.9965, allocations: 0 / 1.207 GB, free: 12.39 MB / 0.9356 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.000129/0.9967, allocations: 182.5 kB / 1.207 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.284e-05/0.9967, allocations: 0 / 1.207 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9967, allocations: 0 / 1.207 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.9967, allocations: 4 kB / 1.207 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.9971, allocations: 459.6 kB / 1.208 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/0.9973, allocations: 172.7 kB / 1.208 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.9975, allocations: 0.669 MB / 1.208 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.9976, allocations: 4 kB / 1.208 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.033e-05/0.9976, allocations: 7.438 kB / 1.208 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of SimCode: time 1.473e-06/0.9976, allocations: 0 / 1.208 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.003845/1.001, allocations: 0.506 MB / 1.209 GB, free: 10.33 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) 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) Reference file matches