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.001618/0.001618, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001799/0.001799, allocations: 223.1 kB / 23 MB, free: 4.914 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.445/1.445, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.286/3.286, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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.002131/0.002131, allocations: 70.89 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3757, allocations: 181.9 MB / 1.365 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001799/0.3775, allocations: 0.6583 MB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001575/0.3776, allocations: 8 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.3777, allocations: 4 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.119e-05/0.3778, allocations: 7.922 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.936e-05/0.3778, allocations: 0 / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.006e-05/0.3779, allocations: 11.98 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.378, allocations: 43.84 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3781, allocations: 23.92 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.3781, allocations: 11.94 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.215e-05/0.3782, allocations: 15.92 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3782, allocations: 4 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.3782, allocations: 4 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.3782, allocations: 12 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.3783, allocations: 15.88 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.801e-05/0.3784, allocations: 51.73 kB / 1.366 GB, free: 12.65 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3784, allocations: 7.938 kB / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3784, allocations: 0 / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3784, allocations: 0 / 1.366 GB, free: 12.64 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.0003489/0.3787, allocations: 274.2 kB / 1.366 GB, free: 12.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.3788, allocations: 8.031 kB / 1.366 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.3788, allocations: 8.891 kB / 1.366 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.3789, allocations: 114.5 kB / 1.366 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.379, allocations: 8.359 kB / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.379, allocations: 8.375 kB / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3791, allocations: 78.17 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3791, allocations: 192 / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3791, allocations: 7.938 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3791, allocations: 0 / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.719e-05/0.3792, allocations: 51.91 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.3797, allocations: 415.3 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.547e-05/0.3798, allocations: 169.1 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.3798, allocations: 88.17 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.3798, allocations: 75.28 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.592e-05/0.3799, allocations: 105.8 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3799, allocations: 4 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.302e-05/0.38, allocations: 37.64 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.38, allocations: 126.7 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3802, allocations: 125.8 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.3802, allocations: 25.7 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.3802, allocations: 104 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.3803, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.3803, allocations: 13.72 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3804, allocations: 318.8 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.3804, allocations: 11.98 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.126e-05/0.3805, allocations: 8 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/0.3805, allocations: 16.84 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3805, allocations: 0 / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001168/0.3806, allocations: 53.58 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3806, allocations: 9.875 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3806, allocations: 3.938 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3806, allocations: 112 / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.3807, allocations: 11.92 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3807, allocations: 0 / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.3807, allocations: 8.031 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3807, allocations: 4 kB / 1.368 GB, free: 10.22 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.0001142/0.3808, allocations: 194.2 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.3809, allocations: 105 kB / 1.368 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.409e-05/0.381, allocations: 112.4 kB / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.228e-05/0.381, allocations: 176.3 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.659e-05/0.3811, allocations: 184.2 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.001e-05/0.3812, allocations: 184.2 kB / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.3814, allocations: 364.9 kB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.557e-05/0.3815, allocations: 108.9 kB / 1.369 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.735e-05/0.3815, allocations: 105 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.219e-05/0.3816, allocations: 189.2 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.873e-05/0.3817, allocations: 176.3 kB / 1.37 GB, free: 8.242 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.679e-05/0.3818, allocations: 184.3 kB / 1.37 GB, free: 8.055 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.55e-05/0.3818, allocations: 180.2 kB / 1.37 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.382, allocations: 311.7 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.382, allocations: 112.9 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.3821, allocations: 176.3 kB / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.239e-05/0.3822, allocations: 109.2 kB / 1.371 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.3823, allocations: 176.3 kB / 1.371 GB, free: 6.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.3823, allocations: 112.9 kB / 1.371 GB, free: 6.836 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.294e-05/0.3824, allocations: 99.27 kB / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3824, allocations: 4 kB / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002263/0.3826, allocations: 7.938 kB / 1.371 GB, free: 6.727 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.0001391/0.3828, allocations: 170.5 kB / 1.371 GB, free: 6.551 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.563e-05/0.3828, allocations: 16 kB / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3828, allocations: 0 / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.3828, allocations: 0 / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.3833, allocations: 463.6 kB / 1.372 GB, free: 6.078 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.3836, allocations: 226 kB / 1.372 GB, free: 5.824 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.158e-05/0.3837, allocations: 79.33 kB / 1.372 GB, free: 5.727 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.3837, allocations: 7.438 kB / 1.372 GB, free: 5.719 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.3837, allocations: 0 / 1.372 GB, free: 5.719 MB / 1.061 GB Notification: Performance of Templates: time 0.002133/0.3859, allocations: 0.6482 MB / 1.372 GB, free: 5.07 MB / 1.061 GB " [Timeout remaining time 300] 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/jenkins1/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: 11.150095964316279]