Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00159/0.00159, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001628/0.001628, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.654/1.654, allocations: 230.6 MB / 256 MB, free: 7.742 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.668/3.668, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.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_latest_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_latest_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.00209/0.00209, allocations: 63.97 kB / 1.186 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5098/0.5119, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002481/0.5144, allocations: 0.6546 MB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002453/0.5146, allocations: 8 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.5147, allocations: 3.938 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.5148, allocations: 7.984 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.5149, allocations: 4 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.515, allocations: 7.938 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.5152, allocations: 39.95 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.5153, allocations: 27.92 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.5154, allocations: 8 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.491e-05/0.5154, allocations: 27.8 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.5155, allocations: 0 / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.019e-05/0.5155, allocations: 4 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.5155, allocations: 8 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.5156, allocations: 19.86 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.5157, allocations: 55.69 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.5157, allocations: 0 / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5157, allocations: 0 / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.5158, allocations: 0 / 1.365 GB, free: 12.69 MB / 1.061 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.0005147/0.5163, allocations: 274.2 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.5163, allocations: 8.031 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.5164, allocations: 8.891 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.5166, allocations: 122.5 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.5166, allocations: 4.375 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.5166, allocations: 4.375 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.5168, allocations: 78.17 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.5169, allocations: 8.125 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.5169, allocations: 11.91 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.5169, allocations: 4 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.517, allocations: 51.91 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.5177, allocations: 411.3 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.5179, allocations: 173.1 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.188e-05/0.518, allocations: 84.17 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.748e-05/0.518, allocations: 75.28 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.427e-05/0.5181, allocations: 109.8 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.422e-06/0.5181, allocations: 0 / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001327/0.5183, allocations: 33.64 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.5184, allocations: 126.7 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.5186, allocations: 125.8 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.5187, allocations: 25.7 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.5188, allocations: 104 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-06/0.5188, allocations: 0 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.5189, allocations: 13.72 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002476/0.5191, allocations: 318.8 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.5191, allocations: 7.984 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.582e-05/0.5192, allocations: 11.98 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.032e-05/0.5192, allocations: 12.92 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5192, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002137/0.5194, allocations: 61.56 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.5195, allocations: 6.5 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5195, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.5195, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.739e-05/0.5196, allocations: 11.94 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.5196, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.5196, allocations: 7.938 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.5197, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 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.0001989/0.5199, allocations: 202.2 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/0.5199, allocations: 104.9 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.5201, allocations: 108.6 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001277/0.5202, allocations: 188.2 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001189/0.5203, allocations: 184.2 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001172/0.5204, allocations: 180.2 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.5208, allocations: 364.8 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.097e-05/0.5208, allocations: 109 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.1e-05/0.5209, allocations: 105 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/0.521, allocations: 181.3 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.5212, allocations: 184.3 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001148/0.5213, allocations: 180.2 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001136/0.5214, allocations: 176.3 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.5216, allocations: 319.7 kB / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.5217, allocations: 104.9 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.5219, allocations: 184.2 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.522, allocations: 105.3 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.5221, allocations: 184.3 kB / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/0.5222, allocations: 105 kB / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.666e-05/0.5223, allocations: 95.27 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.5223, allocations: 0 / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002922/0.5226, allocations: 11.94 kB / 1.37 GB, free: 6.77 MB / 1.061 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.0002424/0.5228, allocations: 166.5 kB / 1.37 GB, free: 6.598 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.523, allocations: 20 kB / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.523, allocations: 0 / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.556e-06/0.523, allocations: 0 / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007443/0.5237, allocations: 465.7 kB / 1.371 GB, free: 6.121 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.5243, allocations: 200.2 kB / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.5244, allocations: 71.39 kB / 1.371 GB, free: 5.809 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.157e-05/0.5244, allocations: 8 kB / 1.371 GB, free: 5.801 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.5245, allocations: 7.438 kB / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of SimCode: time 8.72e-07/0.5245, allocations: 0 / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of Templates: time 0.003693/0.5282, allocations: 329.5 kB / 1.371 GB, free: 5.477 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.247152538970113]