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.005854/0.005854, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001316/0.001316, allocations: 195.9 kB / 16.68 MB, free: 5.973 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 / 240.4 MB, free: 15.09 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.44/2.44, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 64.11 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8655/0.867, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002091/0.8691, allocations: 1.229 MB / 1.168 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.8709, allocations: 1.259 MB / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.8709, allocations: 0 / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.8709, allocations: 0 / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.8716, allocations: 207.3 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.8717, allocations: 38.5 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.651e-05/0.8718, allocations: 19.98 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.8718, allocations: 0 / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.8718, allocations: 8 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1989/1.071, allocations: 30.91 MB / 1.199 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/1.071, allocations: 0 / 1.199 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/1.071, allocations: 0 / 1.199 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/1.071, allocations: 3.984 kB / 1.199 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/1.071, allocations: 11.98 kB / 1.199 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/1.071, allocations: 4 kB / 1.199 GB, free: 4.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.071, allocations: 0 / 1.199 GB, free: 4.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/1.071, allocations: 7.938 kB / 1.2 GB, free: 4.445 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.001e-06/1.071, allocations: 0 / 1.2 GB, free: 4.445 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.0003129/1.071, allocations: 327.5 kB / 1.2 GB, free: 4.078 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.071, allocations: 8.031 kB / 1.2 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/1.072, allocations: 80.22 kB / 1.2 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/1.072, allocations: 239.7 kB / 1.2 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/1.072, allocations: 150.9 kB / 1.2 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/1.072, allocations: 154.9 kB / 1.2 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.695e-05/1.072, allocations: 105.1 kB / 1.201 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/1.072, allocations: 75.28 kB / 1.201 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/1.072, allocations: 158.5 kB / 1.201 GB, free: 3.078 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-05/1.072, allocations: 150.6 kB / 1.201 GB, free: 2.93 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.389e-05/1.072, allocations: 158.6 kB / 1.201 GB, free: 2.773 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/1.072, allocations: 441.9 kB / 1.201 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.938e-05/1.073, allocations: 173.1 kB / 1.202 GB, free: 2.113 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/1.073, allocations: 80.14 kB / 1.202 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/1.073, allocations: 79.22 kB / 1.202 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/1.073, allocations: 113.8 kB / 1.202 GB, free: 1.832 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.392e-06/1.073, allocations: 3.938 kB / 1.202 GB, free: 1.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.852e-05/1.073, allocations: 33.66 kB / 1.202 GB, free: 1.789 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/1.073, allocations: 203.8 kB / 1.202 GB, free: 1.559 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/1.073, allocations: 101.8 kB / 1.202 GB, free: 1.449 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/1.073, allocations: 25.7 kB / 1.202 GB, free: 1.418 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/1.073, allocations: 88.12 kB / 1.202 GB, free: 1.328 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/1.073, allocations: 4 kB / 1.202 GB, free: 1.324 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/1.073, allocations: 13.72 kB / 1.202 GB, free: 1.305 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/1.073, allocations: 314.8 kB / 1.203 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-06/1.073, allocations: 0 / 1.203 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/1.073, allocations: 22.5 kB / 1.203 GB, free: 0.957 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/1.073, allocations: 79.28 kB / 1.203 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.49e-05/1.073, allocations: 79.28 kB / 1.203 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.181e-05/1.073, allocations: 37.64 kB / 1.203 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/1.074, allocations: 79.28 kB / 1.203 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/1.074, allocations: 83.3 kB / 1.203 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.229e-05/1.074, allocations: 154.6 kB / 1.203 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.403e-05/1.074, allocations: 83.33 kB / 1.203 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.404e-05/1.074, allocations: 162.4 kB / 1.203 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/1.074, allocations: 83.28 kB / 1.203 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/1.074, allocations: 79.22 kB / 1.204 GB, free: 44 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.0001465/1.074, allocations: 256.4 kB / 1.204 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/1.074, allocations: 112.9 kB / 1.204 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/1.074, allocations: 108.1 kB / 1.204 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7e-05/1.074, allocations: 188.2 kB / 1.204 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.9e-05/1.074, allocations: 176.3 kB / 1.204 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.377e-05/1.074, allocations: 180.2 kB / 1.205 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/1.075, allocations: 405.2 kB / 1.205 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-05/1.075, allocations: 101 kB / 1.205 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/1.075, allocations: 108.9 kB / 1.205 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.817e-05/1.075, allocations: 184.2 kB / 1.205 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/1.075, allocations: 184.2 kB / 1.205 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.756e-05/1.075, allocations: 180.3 kB / 1.206 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.567e-05/1.075, allocations: 176.5 kB / 1.206 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/1.075, allocations: 311.8 kB / 1.206 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.82e-05/1.075, allocations: 198 kB / 1.206 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/1.075, allocations: 176.3 kB / 1.206 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/1.075, allocations: 109 kB / 1.207 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/1.076, allocations: 180.2 kB / 1.207 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/1.076, allocations: 105 kB / 1.207 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.212e-05/1.076, allocations: 83.28 kB / 1.207 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.076, allocations: 0 / 1.207 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002798/1.076, allocations: 7.938 kB / 1.207 GB, free: 12.36 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.0001395/1.076, allocations: 174.5 kB / 1.207 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.771e-05/1.076, allocations: 7.938 kB / 1.207 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.076, allocations: 0 / 1.207 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/1.076, allocations: 0 / 1.207 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/1.077, allocations: 459.7 kB / 1.208 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/1.077, allocations: 164.7 kB / 1.208 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/1.077, allocations: 0.6729 MB / 1.208 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.721e-05/1.077, allocations: 8 kB / 1.208 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/1.077, allocations: 7.438 kB / 1.208 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of SimCode: time 2.054e-06/1.077, allocations: 0 / 1.208 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of Templates: time 0.00528/1.082, allocations: 0.5063 MB / 1.209 GB, free: 10.31 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