Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.002024/0.002024, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002816/0.002816, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.652/1.652, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.456/3.456, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [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.002253/0.002253, allocations: 76 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4868, allocations: 176.1 MB / 1.321 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.003028/0.4898, allocations: 0.6622 MB / 1.322 GB, free: 2.078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002618/0.4901, allocations: 19.91 kB / 1.322 GB, free: 2.059 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.4901, allocations: 4 kB / 1.322 GB, free: 2.055 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.4903, allocations: 3.938 kB / 1.322 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.4903, allocations: 0 / 1.322 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.4905, allocations: 8 kB / 1.322 GB, free: 2.043 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000167/0.4906, allocations: 35.97 kB / 1.322 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.4908, allocations: 23.98 kB / 1.322 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.4908, allocations: 15.94 kB / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.4909, allocations: 23.86 kB / 1.322 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.4909, allocations: 0 / 1.322 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.4909, allocations: 4 kB / 1.322 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.491, allocations: 11.92 kB / 1.322 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.491, allocations: 23.86 kB / 1.322 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.4912, allocations: 47.77 kB / 1.322 GB, free: 1.859 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4912, allocations: 0 / 1.322 GB, free: 1.859 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4912, allocations: 0 / 1.322 GB, free: 1.859 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.4912, allocations: 0 / 1.322 GB, free: 1.859 MB / 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.0004992/0.4917, allocations: 351.3 kB / 1.322 GB, free: 1.465 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4917, allocations: 19.98 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.4918, allocations: 8.891 kB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.492, allocations: 168.4 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.492, allocations: 8.375 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.492, allocations: 8.312 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.4923, allocations: 82.09 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.4923, allocations: 192 / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.4923, allocations: 7.938 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4923, allocations: 4 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.47e-05/0.4924, allocations: 47.97 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006671/0.4931, allocations: 495.1 kB / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4932, allocations: 169.1 kB / 1.323 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.4932, allocations: 80.14 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.4932, allocations: 75.28 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.268e-05/0.4933, allocations: 114.2 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.4933, allocations: 0 / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001017/0.4934, allocations: 41.59 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.4935, allocations: 126.7 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.4937, allocations: 177.7 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4938, allocations: 25.7 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.4939, allocations: 96.09 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.4939, allocations: 4 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.4939, allocations: 13.72 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4941, allocations: 322.8 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.4941, allocations: 4 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.4941, allocations: 7.984 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.4942, allocations: 20.89 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4942, allocations: 3.938 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001542/0.4943, allocations: 57.7 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.4944, allocations: 4 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4944, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4944, allocations: 4 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.4945, allocations: 0 / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.4945, allocations: 3.938 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.4945, allocations: 7.938 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.4945, allocations: 4 kB / 1.325 GB, free: 15.12 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.0001489/0.4947, allocations: 193.1 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.6e-05/0.4947, allocations: 116.9 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.085e-05/0.4948, allocations: 112.8 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001154/0.495, allocations: 180.2 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-05/0.495, allocations: 184.2 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001231/0.4952, allocations: 180.3 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.4955, allocations: 429.1 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.254e-05/0.4956, allocations: 101 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.4956, allocations: 104.9 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-05/0.4957, allocations: 176.3 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.762e-05/0.4958, allocations: 180.3 kB / 1.326 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.07e-05/0.4959, allocations: 184.2 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.508e-05/0.496, allocations: 184.2 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.4962, allocations: 311.7 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.4963, allocations: 186.1 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.4964, allocations: 188.2 kB / 1.327 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.4965, allocations: 105.3 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.4966, allocations: 192.1 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/0.4967, allocations: 105 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001344/0.4968, allocations: 133 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4968, allocations: 0 / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002356/0.497, allocations: 4 kB / 1.328 GB, free: 11.42 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.0002494/0.4973, allocations: 186.5 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.4974, allocations: 11.98 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4974, allocations: 0 / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.58e-06/0.4974, allocations: 4 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.498, allocations: 459.6 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.4985, allocations: 228.2 kB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.4989, allocations: 0.6885 MB / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.499, allocations: 4 kB / 1.33 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.499, allocations: 11.44 kB / 1.33 GB, free: 9.777 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.499, allocations: 0 / 1.33 GB, free: 9.777 MB / 1.029 GB Notification: Performance of Templates: time 0.003314/0.5023, allocations: 473.3 kB / 1.33 GB, free: 9.32 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.773732748813927]