Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001382/0.001382, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001679/0.001679, allocations: 217.1 kB / 22.99 MB, free: 4.945 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.846/2.846, allocations: 476 MB / 0.7707 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002132/0.002132, allocations: 69.38 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3454, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002032/0.3474, allocations: 0.6601 MB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001592/0.3476, allocations: 8 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.3476, allocations: 0 / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.907e-05/0.3477, allocations: 3.938 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.747e-05/0.3478, allocations: 0 / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.133e-05/0.3478, allocations: 7.984 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.049e-05/0.3479, allocations: 27.86 kB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3481, allocations: 19.98 kB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.3481, allocations: 23.92 kB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.812e-05/0.3481, allocations: 15.92 kB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.3482, allocations: 4 kB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.3482, allocations: 4 kB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.886e-05/0.3482, allocations: 8 kB / 1.285 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.3483, allocations: 11.88 kB / 1.285 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.3484, allocations: 51.73 kB / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3484, allocations: 0 / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3484, allocations: 0 / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.3484, allocations: 7.938 kB / 1.285 GB, free: 11.07 MB / 0.9825 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.000385/0.3488, allocations: 274.2 kB / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3488, allocations: 19.97 kB / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.3488, allocations: 4.938 kB / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.349, allocations: 122.5 kB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.349, allocations: 384 / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.349, allocations: 8.375 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3492, allocations: 78.17 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3492, allocations: 192 / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3492, allocations: 3.938 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3492, allocations: 0 / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.081e-05/0.3493, allocations: 51.91 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.3498, allocations: 410.9 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.3499, allocations: 177.1 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.35, allocations: 84.14 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.35, allocations: 75.28 kB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.96e-05/0.3501, allocations: 105.8 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3501, allocations: 0 / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.518e-05/0.3501, allocations: 37.72 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.3502, allocations: 126.7 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.3503, allocations: 121.8 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.3504, allocations: 25.7 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.3504, allocations: 104 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.3504, allocations: 4 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.3505, allocations: 17.72 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3506, allocations: 318.8 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.3507, allocations: 11.98 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.398e-05/0.3507, allocations: 8 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.863e-05/0.3507, allocations: 12.84 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3507, allocations: 0 / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001329/0.3508, allocations: 49.62 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3509, allocations: 8 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3509, allocations: 8.094 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3509, allocations: 112 / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.3509, allocations: 11.92 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3509, allocations: 320 / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.351, allocations: 3.938 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.351, allocations: 4 kB / 1.287 GB, free: 8.648 MB / 0.9825 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.000127/0.3511, allocations: 193.1 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.3512, allocations: 105 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.3512, allocations: 112.4 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.3e-05/0.3513, allocations: 180.3 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.313e-05/0.3514, allocations: 188.2 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-05/0.3515, allocations: 184.2 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.3517, allocations: 366.6 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.948e-05/0.3518, allocations: 104.9 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.3518, allocations: 109 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.144e-05/0.3519, allocations: 184.2 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.189e-05/0.352, allocations: 176.3 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.233e-05/0.3521, allocations: 180.3 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-05/0.3522, allocations: 180.2 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.3523, allocations: 315.6 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.3524, allocations: 109 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.14e-05/0.3525, allocations: 180.3 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3526, allocations: 112.9 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/0.3527, allocations: 184.2 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.3527, allocations: 104.9 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.3528, allocations: 99.25 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3528, allocations: 0 / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002333/0.353, allocations: 15.89 kB / 1.29 GB, free: 5.152 MB / 0.9825 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.0001569/0.3532, allocations: 166.5 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.213e-05/0.3533, allocations: 19.98 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3533, allocations: 0 / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.3533, allocations: 352 / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.3538, allocations: 455.7 kB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.3541, allocations: 237.9 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.176e-05/0.3542, allocations: 71.33 kB / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.3542, allocations: 11.44 kB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3542, allocations: 0 / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of Templates: time 0.002308/0.3566, allocations: 0.6528 MB / 1.292 GB, free: 3.492 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.354594666045159]