Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009206/0.009206, allocations: 170 kB / 16.26 MB, free: 6.613 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.504/1.504, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.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.615/2.615, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 12 kB / 0.8728 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6587/0.6591, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.0008654/0.66, allocations: 382.2 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001362/0.6601, allocations: 19.91 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.6602, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.677e-05/0.6603, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.051e-05/0.6603, allocations: 7.938 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.138e-05/0.6604, allocations: 4 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.746e-05/0.6605, allocations: 19.98 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.6607, allocations: 31.98 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.304e-05/0.6607, allocations: 7.938 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.112e-05/0.6607, allocations: 11.94 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.6607, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.6608, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.6608, allocations: 15.91 kB / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.6609, allocations: 41.58 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.236e-05/0.6609, allocations: 39.88 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.661, allocations: 4 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.661, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.661, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003477/0.6613, allocations: 349.2 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.6614, allocations: 12.03 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.6614, allocations: 0.9375 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.6616, allocations: 180.2 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.6616, allocations: 8.375 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.6616, allocations: 4.375 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.6618, allocations: 78.17 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.6618, allocations: 192 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.6618, allocations: 7.922 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.6618, allocations: 4 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.6619, allocations: 55.84 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.6624, allocations: 487.1 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.946e-05/0.6625, allocations: 173.1 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.6626, allocations: 80.25 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.6626, allocations: 83.22 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.6627, allocations: 109.8 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6627, allocations: 0 / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.434e-05/0.6627, allocations: 37.61 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.6628, allocations: 134.6 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.663, allocations: 169.7 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.663, allocations: 25.7 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.6631, allocations: 96.12 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.6631, allocations: 0 / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.6631, allocations: 13.72 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6632, allocations: 310.8 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.6632, allocations: 11.98 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.6633, allocations: 4 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/0.6633, allocations: 24.91 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6633, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001216/0.6634, allocations: 53.53 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.6635, allocations: 4.938 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6635, allocations: 4 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.6635, allocations: 0 / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.6636, allocations: 3.984 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.6636, allocations: 3.938 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.6636, allocations: 7.938 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.6636, allocations: 8 kB / 1.026 GB, free: 12.54 MB / 0.7794 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 (1): * Single equations (assignments): 1 * 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.0001114/0.6638, allocations: 193.6 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.6638, allocations: 105 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/0.6639, allocations: 112.8 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.906e-05/0.664, allocations: 176.3 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-05/0.664, allocations: 192.2 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.354e-05/0.6641, allocations: 188.2 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.6644, allocations: 417.2 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-05/0.6644, allocations: 104.9 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.805e-05/0.6645, allocations: 105 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.091e-05/0.6646, allocations: 184.2 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.122e-05/0.6647, allocations: 184.2 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.868e-05/0.6647, allocations: 176.3 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.607e-05/0.6648, allocations: 184.1 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.665, allocations: 319.6 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.6651, allocations: 190 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/0.6652, allocations: 180.2 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.6653, allocations: 116.9 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.6654, allocations: 180.2 kB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.6654, allocations: 105.2 kB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001118/0.6655, allocations: 132.5 kB / 1.029 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6656, allocations: 8 kB / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002367/0.6658, allocations: 4 kB / 1.029 GB, free: 8.832 MB / 0.7794 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.0002024/0.666, allocations: 170.5 kB / 1.03 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.475e-05/0.6661, allocations: 11.98 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6661, allocations: 0 / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.6661, allocations: 0 / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.6666, allocations: 0.5264 MB / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.667, allocations: 228 kB / 1.03 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.6673, allocations: 0.6887 MB / 1.031 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.6674, allocations: 15.98 kB / 1.031 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.6674, allocations: 11.42 kB / 1.031 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of SimCode: time 5.81e-07/0.6674, allocations: 0 / 1.031 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of Templates: time 0.002822/0.6703, allocations: 440.5 kB / 1.031 GB, free: 6.688 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches