Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00262/0.00262, allocations: 217.9 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.299/3.299, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 63.78 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3771, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001941/0.3791, allocations: 0.6632 MB / 1.355 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001536/0.3792, allocations: 11.98 kB / 1.355 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.3793, allocations: 0 / 1.355 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.768e-05/0.3794, allocations: 3.938 kB / 1.355 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.268e-05/0.3794, allocations: 0 / 1.355 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.363e-05/0.3795, allocations: 8 kB / 1.355 GB, free: 7.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.538e-05/0.3796, allocations: 23.92 kB / 1.355 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3797, allocations: 27.98 kB / 1.355 GB, free: 7.219 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.692e-05/0.3797, allocations: 19.91 kB / 1.355 GB, free: 7.199 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.696e-05/0.3798, allocations: 11.94 kB / 1.355 GB, free: 7.188 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3798, allocations: 4 kB / 1.355 GB, free: 7.184 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.3798, allocations: 4 kB / 1.355 GB, free: 7.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.3798, allocations: 15.92 kB / 1.355 GB, free: 7.164 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.3799, allocations: 15.88 kB / 1.355 GB, free: 7.148 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.38, allocations: 51.73 kB / 1.355 GB, free: 7.098 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.38, allocations: 0 / 1.355 GB, free: 7.098 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.38, allocations: 4 kB / 1.355 GB, free: 7.094 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.38, allocations: 0 / 1.355 GB, free: 7.094 MB / 1.045 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.0003686/0.3804, allocations: 278.1 kB / 1.355 GB, free: 6.789 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3804, allocations: 12.03 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.3804, allocations: 4.891 kB / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.3806, allocations: 122.5 kB / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3806, allocations: 4.375 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3806, allocations: 4.375 kB / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3808, allocations: 78.22 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3808, allocations: 8.125 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3808, allocations: 7.938 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3808, allocations: 4 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.404e-05/0.3809, allocations: 51.91 kB / 1.356 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.3814, allocations: 450.7 kB / 1.356 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3815, allocations: 177.1 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.3816, allocations: 92.11 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.3816, allocations: 75.28 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/0.3817, allocations: 109.8 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3817, allocations: 0 / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.807e-05/0.3818, allocations: 33.64 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.3818, allocations: 126.7 kB / 1.357 GB, free: 5.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.382, allocations: 179.8 kB / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.382, allocations: 25.7 kB / 1.357 GB, free: 5.125 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.3821, allocations: 100.1 kB / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.3821, allocations: 0 / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.3821, allocations: 9.719 kB / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3823, allocations: 318.8 kB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.3823, allocations: 7.984 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.3823, allocations: 11.98 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.3824, allocations: 16.92 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3824, allocations: 0 / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000126/0.3825, allocations: 53.58 kB / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3825, allocations: 7.984 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3825, allocations: 4 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3825, allocations: 0 / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/0.3826, allocations: 0 / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3826, allocations: 3.938 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.3826, allocations: 8.047 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3826, allocations: 11.97 kB / 1.357 GB, free: 4.555 MB / 1.045 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.0001162/0.3827, allocations: 197.7 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.3828, allocations: 112.9 kB / 1.358 GB, free: 4.234 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/0.3829, allocations: 120.7 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.971e-05/0.383, allocations: 176.3 kB / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.863e-05/0.3831, allocations: 188.2 kB / 1.358 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.556e-05/0.3831, allocations: 180.2 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.3834, allocations: 388.3 kB / 1.359 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.383e-05/0.3835, allocations: 104.9 kB / 1.359 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.3835, allocations: 105 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.591e-05/0.3836, allocations: 184.2 kB / 1.359 GB, free: 2.715 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.07e-05/0.3837, allocations: 184.3 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.719e-05/0.3837, allocations: 176.3 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.792e-05/0.3838, allocations: 188.1 kB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.384, allocations: 316.3 kB / 1.36 GB, free: 1.824 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.3841, allocations: 112.9 kB / 1.36 GB, free: 1.707 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.714e-05/0.3842, allocations: 176.3 kB / 1.36 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.3843, allocations: 117.2 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.3844, allocations: 180.2 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.3844, allocations: 112.9 kB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000109/0.3845, allocations: 132.5 kB / 1.361 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3845, allocations: 0 / 1.361 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002335/0.3847, allocations: 8 kB / 1.361 GB, free: 0.9688 MB / 1.045 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.0001507/0.3849, allocations: 166.5 kB / 1.361 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8e-05/0.385, allocations: 16.03 kB / 1.361 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.385, allocations: 4 kB / 1.361 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.385, allocations: 0 / 1.361 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.3855, allocations: 461.6 kB / 1.361 GB, free: 332 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.3858, allocations: 237.8 kB / 1.361 GB, free: 60 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.3861, allocations: 0.6924 MB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.3862, allocations: 11.44 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3862, allocations: 0 / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of Templates: time 0.002505/0.3887, allocations: 0.763 MB / 1.363 GB, free: 14.57 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.732325355987996]