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.00131/0.00131, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001496/0.001496, allocations: 210 kB / 22.99 MB, free: 4.957 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.357/3.357, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.002091/0.002091, allocations: 66.86 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4052, allocations: 176.1 MB / 1.327 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001854/0.407, allocations: 0.651 MB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000169/0.4072, allocations: 15.92 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.4073, allocations: 0 / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.4074, allocations: 3.938 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.313e-05/0.4074, allocations: 0 / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.301e-05/0.4075, allocations: 8 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.848e-05/0.4076, allocations: 27.91 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.4077, allocations: 23.98 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.762e-05/0.4077, allocations: 11.92 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.527e-05/0.4078, allocations: 15.94 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.4078, allocations: 4 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.4078, allocations: 4 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.4078, allocations: 7.922 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.4079, allocations: 19.88 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.408, allocations: 47.8 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.408, allocations: 3.938 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.783e-06/0.408, allocations: 7.938 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.408, allocations: 0 / 1.328 GB, free: 56 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.0003992/0.4084, allocations: 278.2 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4084, allocations: 12.03 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.4084, allocations: 0.9375 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.4086, allocations: 126.4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.4086, allocations: 384 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.4086, allocations: 4.375 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.4088, allocations: 78.22 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4088, allocations: 192 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4088, allocations: 11.94 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4088, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.825e-05/0.4089, allocations: 47.97 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.4094, allocations: 419.2 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.689e-05/0.4095, allocations: 165.1 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.4095, allocations: 92.09 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.4095, allocations: 83.28 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.4096, allocations: 105.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.4096, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.271e-05/0.4097, allocations: 29.7 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.4097, allocations: 126.7 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.4099, allocations: 125.8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.4099, allocations: 25.7 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.41, allocations: 104 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.41, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.41, allocations: 17.7 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4101, allocations: 318.8 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.4101, allocations: 11.92 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.502e-05/0.4102, allocations: 8 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.885e-05/0.4102, allocations: 16.84 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4102, allocations: 64 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001187/0.4103, allocations: 49.69 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4103, allocations: 8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4103, allocations: 320 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4104, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.348e-05/0.4104, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4104, allocations: 4 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.4104, allocations: 7.922 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.4105, allocations: 7.984 kB / 1.33 GB, free: 13.64 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.0001146/0.4106, allocations: 193.6 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.4106, allocations: 117 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.4107, allocations: 108.4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-05/0.4108, allocations: 184.2 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.794e-05/0.4109, allocations: 180.3 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.899e-05/0.4109, allocations: 188.1 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.4112, allocations: 365 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.111e-05/0.4112, allocations: 108.9 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.4113, allocations: 104.9 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-05/0.4113, allocations: 184.3 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.719e-05/0.4114, allocations: 184.2 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.197e-05/0.4115, allocations: 176.3 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.485e-05/0.4116, allocations: 184.3 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.4117, allocations: 311.7 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.4118, allocations: 116.9 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.412e-05/0.4118, allocations: 176.3 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.4119, allocations: 105.3 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.412, allocations: 180.2 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.4121, allocations: 105 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.616e-05/0.4121, allocations: 99.25 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4121, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002191/0.4123, allocations: 15.89 kB / 1.333 GB, free: 10.12 MB / 1.029 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.0001519/0.4125, allocations: 172.6 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.348e-05/0.4126, allocations: 23.94 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4126, allocations: 0 / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.4126, allocations: 0 / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.4131, allocations: 459.6 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.4134, allocations: 204.2 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.136e-05/0.4134, allocations: 79.31 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.4135, allocations: 4 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.4135, allocations: 11.5 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.4135, allocations: 0 / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of Templates: time 0.00262/0.4161, allocations: 342.1 kB / 1.335 GB, free: 8.805 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 -s cvode -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.54575531600858]