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.001428/0.001428, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001879/0.00188, allocations: 195.1 kB / 16.14 MB, free: 6.629 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.533/1.533, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.805/2.805, allocations: 437 MB / 0.71 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.88 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8512/0.8532, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002141/0.8554, allocations: 0.7276 MB / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001283/0.8555, allocations: 4 kB / 1.017 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.8556, allocations: 0 / 1.017 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.8557, allocations: 7.938 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.295e-05/0.8557, allocations: 4 kB / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.895e-05/0.8558, allocations: 0 / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.796e-05/0.8559, allocations: 23.98 kB / 1.017 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.856, allocations: 35.91 kB / 1.017 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.8561, allocations: 15.92 kB / 1.017 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.8561, allocations: 15.94 kB / 1.017 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.8561, allocations: 4 kB / 1.017 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.8562, allocations: 0 / 1.017 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.8562, allocations: 15.92 kB / 1.017 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.8562, allocations: 15.88 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.646e-05/0.8563, allocations: 43.86 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.8564, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.41e-07/0.8564, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.8564, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 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.0004376/0.8568, allocations: 353.3 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.8569, allocations: 12.03 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.8569, allocations: 12.84 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.8571, allocations: 176.3 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.8571, allocations: 384 / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.8571, allocations: 8.375 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.8573, allocations: 82.16 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.8573, allocations: 192 / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.8574, allocations: 3.938 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.8574, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.607e-05/0.8575, allocations: 47.97 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.8581, allocations: 495 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.622e-05/0.8582, allocations: 169.1 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.8582, allocations: 84.12 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.8583, allocations: 75.39 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/0.8583, allocations: 113.8 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.8583, allocations: 0 / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 8.127e-05/0.8584, allocations: 37.55 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.294e-05/0.8585, allocations: 130.7 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.8587, allocations: 175.4 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.8588, allocations: 25.7 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/0.8589, allocations: 100 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-06/0.8589, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.8589, allocations: 17.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8591, allocations: 310.8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.8591, allocations: 11.98 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.357e-05/0.8591, allocations: 4 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.8592, allocations: 20.84 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.8592, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000131/0.8593, allocations: 53.69 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.8593, allocations: 8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.8593, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.8593, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.8594, allocations: 4 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.8594, allocations: 3.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.8595, allocations: 11.89 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.8595, allocations: 0 / 1.02 GB, free: 15.13 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.0001179/0.8596, allocations: 193.1 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/0.8597, allocations: 116.8 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-05/0.8598, allocations: 108.9 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.277e-05/0.8599, allocations: 176.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.366e-05/0.86, allocations: 192.2 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.57e-05/0.8601, allocations: 184.2 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.8604, allocations: 421.1 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.434e-05/0.8604, allocations: 101 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.8605, allocations: 109 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-05/0.8606, allocations: 184.2 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.213e-05/0.8607, allocations: 180.2 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-05/0.8608, allocations: 180.2 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001013/0.8609, allocations: 188.2 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.8611, allocations: 303.8 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.8612, allocations: 193.9 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.8613, allocations: 180.2 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.8614, allocations: 105 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.8615, allocations: 196.1 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.8616, allocations: 104.9 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001265/0.8617, allocations: 133.1 kB / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8617, allocations: 0 / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002355/0.862, allocations: 8 kB / 1.023 GB, free: 11.43 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.0002158/0.8622, allocations: 171.1 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.327e-05/0.8623, allocations: 12.34 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8623, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.983e-06/0.8623, allocations: 4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.8629, allocations: 0.5302 MB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.8632, allocations: 226 kB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.8636, allocations: 0.6887 MB / 1.025 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.8636, allocations: 11.98 kB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.8636, allocations: 7.438 kB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.8637, allocations: 0 / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of Templates: time 0.002848/0.8665, allocations: 458.5 kB / 1.025 GB, free: 9.27 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=400 -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