Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001505/0.001505, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001742/0.001742, allocations: 204.8 kB / 23 MB, free: 4.934 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.219/3.219, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00218/0.00218, allocations: 69.14 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4145, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002179/0.4166, allocations: 0.661 MB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001819/0.4168, allocations: 7.938 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.4169, allocations: 4 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.417, allocations: 7.922 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.763e-05/0.417, allocations: 0 / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.474e-05/0.4171, allocations: 0 / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.4172, allocations: 23.98 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.4174, allocations: 23.92 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.4174, allocations: 11.94 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.4174, allocations: 23.91 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.4175, allocations: 3.938 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.4175, allocations: 4 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.4175, allocations: 8 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.4175, allocations: 19.86 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.4177, allocations: 47.77 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4177, allocations: 0 / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4177, allocations: 0 / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.4177, allocations: 0 / 1.328 GB, free: 120 kB / 1.014 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.0004396/0.4181, allocations: 278.2 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4182, allocations: 8.031 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.4182, allocations: 8.938 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.4184, allocations: 126.5 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4184, allocations: 8.312 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.4184, allocations: 384 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.4186, allocations: 78.23 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4186, allocations: 192 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4186, allocations: 7.922 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4186, allocations: 3.938 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.381e-05/0.4187, allocations: 59.91 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.4193, allocations: 411.2 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.4194, allocations: 169.1 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.4194, allocations: 88.17 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.4195, allocations: 79.22 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.24e-05/0.4196, allocations: 109.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.4196, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.471e-05/0.4196, allocations: 29.7 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.4197, allocations: 51.41 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.4198, allocations: 121.8 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.4198, allocations: 25.7 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.4199, allocations: 104 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.4199, allocations: 4 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.42, allocations: 13.72 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4201, allocations: 322.8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.4201, allocations: 7.984 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.4202, allocations: 7.984 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.4202, allocations: 16.8 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4202, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001379/0.4203, allocations: 49.69 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.4204, allocations: 7.984 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4204, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4204, allocations: 4.094 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/0.4204, allocations: 4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4205, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.4205, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.4205, allocations: 3.938 kB / 1.33 GB, free: 13.77 MB / 1.029 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.0001599/0.4207, allocations: 197.6 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-05/0.4208, allocations: 112.9 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.964e-05/0.4208, allocations: 108.5 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001065/0.4209, allocations: 184.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.472e-05/0.421, allocations: 104.9 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.4211, allocations: 113 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.4212, allocations: 184.1 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.4213, allocations: 105 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.4214, allocations: 184.2 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001389/0.4216, allocations: 255.5 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000235/0.4218, allocations: 383 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.417e-05/0.4219, allocations: 105 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.311e-05/0.4219, allocations: 103.6 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of Backend: time 1.81e-07/0.4219, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004003/0.4223, allocations: 95.98 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008328/0.4232, allocations: 0.8819 MB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of Templates: time 0.002991/0.4262, allocations: 427.6 kB / 1.333 GB, free: 10.11 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.210582132000127]