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.00149/0.00149, allocations: 113.1 kB / 16.41 MB, free: 6.492 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.001556/0.001556, allocations: 183 kB / 17.34 MB, free: 5.762 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.16 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.433/2.433, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 64.12 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8345/0.836, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.0024/0.8385, allocations: 1.222 MB / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.8404, allocations: 1.259 MB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.8404, allocations: 0 / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.8405, allocations: 4 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0007597/0.8412, allocations: 215.2 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.8414, allocations: 29.58 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.428e-05/0.8414, allocations: 15.92 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.8415, allocations: 4 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.408e-05/0.8415, allocations: 11.98 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1829/1.024, allocations: 30.91 MB / 1.2 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/1.024, allocations: 0 / 1.2 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/1.024, allocations: 4 kB / 1.2 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/1.024, allocations: 0 / 1.2 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/1.025, allocations: 4 kB / 1.2 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/1.025, allocations: 15.97 kB / 1.2 GB, free: 4.469 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.025, allocations: 0 / 1.2 GB, free: 4.469 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.395e-06/1.025, allocations: 0 / 1.2 GB, free: 4.469 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.22e-05/1.025, allocations: 4 kB / 1.2 GB, free: 4.465 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.0003088/1.025, allocations: 311.6 kB / 1.2 GB, free: 4.113 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.025, allocations: 12.03 kB / 1.2 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/1.025, allocations: 84.22 kB / 1.201 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/1.025, allocations: 243.5 kB / 1.201 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/1.025, allocations: 150.9 kB / 1.201 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/1.025, allocations: 154.9 kB / 1.201 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.846e-05/1.025, allocations: 113 kB / 1.201 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/1.026, allocations: 79.27 kB / 1.201 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/1.026, allocations: 154.6 kB / 1.201 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/1.026, allocations: 150.6 kB / 1.202 GB, free: 2.945 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.971e-05/1.026, allocations: 150.6 kB / 1.202 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/1.026, allocations: 446 kB / 1.202 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.594e-05/1.026, allocations: 173.1 kB / 1.202 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/1.026, allocations: 84.12 kB / 1.202 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/1.026, allocations: 79.28 kB / 1.202 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/1.026, allocations: 113.8 kB / 1.203 GB, free: 1.848 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.026, allocations: 3.938 kB / 1.203 GB, free: 1.844 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.801e-05/1.026, allocations: 25.7 kB / 1.203 GB, free: 1.812 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/1.026, allocations: 207.8 kB / 1.203 GB, free: 1.578 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/1.026, allocations: 105.8 kB / 1.203 GB, free: 1.465 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/1.026, allocations: 29.7 kB / 1.203 GB, free: 1.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/1.027, allocations: 80.14 kB / 1.203 GB, free: 1.348 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/1.027, allocations: 0 / 1.203 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/1.027, allocations: 13.72 kB / 1.203 GB, free: 1.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/1.027, allocations: 314.8 kB / 1.203 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-06/1.027, allocations: 0 / 1.203 GB, free: 1.012 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/1.027, allocations: 26.56 kB / 1.203 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/1.027, allocations: 75.28 kB / 1.203 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-05/1.027, allocations: 75.28 kB / 1.203 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.106e-05/1.027, allocations: 33.64 kB / 1.204 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/1.027, allocations: 79.28 kB / 1.204 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/1.027, allocations: 87.3 kB / 1.204 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.547e-05/1.027, allocations: 154.6 kB / 1.204 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.84e-05/1.027, allocations: 83.27 kB / 1.204 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.497e-05/1.027, allocations: 154.6 kB / 1.204 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/1.027, allocations: 83.27 kB / 1.204 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/1.027, allocations: 83.22 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.0001319/1.027, allocations: 264.4 kB / 1.204 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/1.027, allocations: 104.9 kB / 1.205 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/1.028, allocations: 124 kB / 1.205 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-05/1.028, allocations: 176.3 kB / 1.205 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.968e-05/1.028, allocations: 176.3 kB / 1.205 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-05/1.028, allocations: 180.2 kB / 1.205 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/1.028, allocations: 409.2 kB / 1.206 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/1.028, allocations: 104.9 kB / 1.206 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/1.028, allocations: 104.9 kB / 1.206 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.612e-05/1.028, allocations: 180.3 kB / 1.206 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/1.028, allocations: 184.2 kB / 1.206 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.773e-05/1.028, allocations: 176.3 kB / 1.206 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.753e-05/1.028, allocations: 192.2 kB / 1.206 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/1.028, allocations: 303.8 kB / 1.207 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/1.028, allocations: 186 kB / 1.207 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/1.029, allocations: 180.3 kB / 1.207 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/1.029, allocations: 112.9 kB / 1.207 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/1.029, allocations: 180.2 kB / 1.207 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/1.029, allocations: 108.9 kB / 1.208 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.865e-05/1.029, allocations: 75.28 kB / 1.208 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.029, allocations: 0 / 1.208 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002546/1.029, allocations: 7.938 kB / 1.208 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.0001376/1.029, allocations: 182.9 kB / 1.208 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.39e-05/1.029, allocations: 0 / 1.208 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.029, allocations: 0 / 1.208 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/1.029, allocations: 0 / 1.208 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/1.03, allocations: 466 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.0002776/1.03, allocations: 206.3 kB / 1.208 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/1.03, allocations: 0.6729 MB / 1.209 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.142e-05/1.03, allocations: 7.438 kB / 1.209 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/1.03, allocations: 0 / 1.209 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Templates: time 0.003467/1.034, allocations: 479.5 kB / 1.21 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/jenkins1/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