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.001719/0.001719, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002127, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.705/2.705, allocations: 437 MB / 0.7103 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.91 kB / 0.8692 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7522, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002306/0.7546, allocations: 0.6474 MB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000153/0.7548, allocations: 11.88 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.7548, allocations: 4 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.184e-05/0.7549, allocations: 3.938 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.756e-05/0.755, allocations: 4 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.007e-05/0.7551, allocations: 11.97 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.383e-05/0.7552, allocations: 23.94 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.7553, allocations: 27.98 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.7554, allocations: 19.92 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.966e-05/0.7554, allocations: 11.94 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.7554, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.7555, allocations: 4 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.7555, allocations: 15.92 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.7555, allocations: 15.88 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.7557, allocations: 51.86 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7557, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7557, allocations: 4 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.7557, allocations: 0 / 1.018 GB, free: 1.609 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.0004419/0.7561, allocations: 349.3 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.7562, allocations: 12.03 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.7563, allocations: 8.828 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.7565, allocations: 176.3 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.7565, allocations: 4.375 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.7565, allocations: 12.31 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.7567, allocations: 78.22 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7567, allocations: 192 / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.7567, allocations: 3.938 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.7568, allocations: 4 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.388e-05/0.7568, allocations: 47.97 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.7574, allocations: 483 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.09e-05/0.7575, allocations: 173.1 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.7576, allocations: 80.14 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.7576, allocations: 83.33 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/0.7577, allocations: 113.7 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.7577, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.967e-05/0.7578, allocations: 33.61 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.7579, allocations: 134.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.758, allocations: 171 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/0.7581, allocations: 25.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.7582, allocations: 96.05 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-06/0.7582, allocations: 3.984 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.7582, allocations: 17.7 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7583, allocations: 318.8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.7584, allocations: 15.98 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/0.7584, allocations: 4 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.952e-05/0.7584, allocations: 16.78 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7585, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001232/0.7586, allocations: 49.69 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7586, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7586, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.7586, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.942e-05/0.7587, allocations: 12.08 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.7587, allocations: 7.938 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.7587, allocations: 7.906 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.7588, allocations: 0 / 1.021 GB, free: 14.89 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.0001061/0.7589, allocations: 197.1 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.7589, allocations: 112.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.759, allocations: 112.9 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.101e-05/0.7591, allocations: 188.2 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.086e-05/0.7592, allocations: 184.2 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.149e-05/0.7592, allocations: 180.2 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.7595, allocations: 425.1 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-05/0.7595, allocations: 101 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.7596, allocations: 104.9 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.135e-05/0.7596, allocations: 184.2 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/0.7597, allocations: 184.3 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.483e-05/0.7598, allocations: 180.2 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.709e-05/0.7598, allocations: 180.2 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.76, allocations: 311.8 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.7601, allocations: 189.9 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/0.7602, allocations: 184.2 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.7603, allocations: 101 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.7603, allocations: 188.1 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.7604, allocations: 109 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.724e-05/0.7605, allocations: 140.4 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7605, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002318/0.7607, allocations: 4 kB / 1.024 GB, free: 11.18 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.0001552/0.7609, allocations: 174.5 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.036e-05/0.761, allocations: 15.92 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.761, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.761, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.7614, allocations: 465.3 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.7618, allocations: 212.7 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.7621, allocations: 0.6963 MB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.052e-05/0.7621, allocations: 7.906 kB / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.7621, allocations: 11.44 kB / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7621, allocations: 0 / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of Templates: time 0.002706/0.7649, allocations: 474.4 kB / 1.026 GB, free: 9.086 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