Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008814/0.008814, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001867/0.001867, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.586/1.586, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.705/2.705, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 61.22 kB / 0.9509 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3765, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001741/0.3783, allocations: 0.6474 MB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001822/0.3785, allocations: 12 kB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/0.3786, allocations: 4 kB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.3787, allocations: 7.922 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.3788, allocations: 4 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 9.499e-05/0.3789, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.379, allocations: 27.92 kB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.3792, allocations: 27.98 kB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.3793, allocations: 19.92 kB / 1.089 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.3793, allocations: 15.92 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3793, allocations: 4 kB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.3794, allocations: 0 / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.3794, allocations: 15.94 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.3795, allocations: 23.86 kB / 1.089 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.3796, allocations: 43.81 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3796, allocations: 0 / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3796, allocations: 0 / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3796, allocations: 0 / 1.089 GB, free: 0.5898 MB / 0.8419 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.0003854/0.38, allocations: 347.4 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.38, allocations: 8.031 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.3801, allocations: 8.844 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.3803, allocations: 188.2 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.3803, allocations: 4.375 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.3804, allocations: 8.375 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3805, allocations: 78.16 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3805, allocations: 4.188 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3806, allocations: 3.938 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3806, allocations: 0 / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.3807, allocations: 51.91 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.3812, allocations: 499 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.987e-05/0.3812, allocations: 169.1 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.3813, allocations: 84.5 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3813, allocations: 75.28 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.3814, allocations: 105.8 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3814, allocations: 4 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.887e-05/0.3814, allocations: 33.7 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.3815, allocations: 126.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.3817, allocations: 187.1 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3817, allocations: 25.7 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.3818, allocations: 96.05 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.3818, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.3818, allocations: 17.72 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3819, allocations: 318.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.382, allocations: 8 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.382, allocations: 7.984 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.382, allocations: 20.84 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.382, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001066/0.3822, allocations: 49.59 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3822, allocations: 8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3822, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3822, allocations: 4.094 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.202e-05/0.3823, allocations: 3.938 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3823, allocations: 8.047 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.3823, allocations: 11.88 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.3823, allocations: 3.984 kB / 1.091 GB, free: 13.84 MB / 0.8575 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 8.843e-05/0.3824, allocations: 185.1 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.3825, allocations: 116.9 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.424e-05/0.3826, allocations: 116.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.498e-05/0.3826, allocations: 176.3 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-05/0.3827, allocations: 184.2 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.036e-05/0.3828, allocations: 184.2 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.383, allocations: 418.6 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.789e-05/0.3831, allocations: 104.9 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.3831, allocations: 105 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.043e-05/0.3832, allocations: 184.3 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/0.3833, allocations: 180.2 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-05/0.3833, allocations: 180.2 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.411e-05/0.3834, allocations: 184.1 kB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.3835, allocations: 311.7 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-05/0.3836, allocations: 194 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.3837, allocations: 180.2 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.3838, allocations: 109.2 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.3839, allocations: 184.2 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.3839, allocations: 113 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.626e-05/0.384, allocations: 125.3 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.573e-06/0.384, allocations: 0 / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002247/0.3843, allocations: 11.94 kB / 1.095 GB, free: 10.15 MB / 0.8575 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.0001551/0.3844, allocations: 178.5 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.367e-05/0.3845, allocations: 8 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3845, allocations: 4.062 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.3845, allocations: 0 / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.3849, allocations: 467.7 kB / 1.095 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.3852, allocations: 212.2 kB / 1.095 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.3855, allocations: 0.6924 MB / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.508e-05/0.3855, allocations: 12 kB / 1.096 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.3856, allocations: 11.38 kB / 1.096 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.3856, allocations: 0 / 1.096 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of Templates: time 0.002418/0.388, allocations: 472.4 kB / 1.097 GB, free: 8.055 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches