Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.715/1.715, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 71.88 kB / 1.059 GB, free: 312 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3854, allocations: 160.7 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002103/0.3875, allocations: 0.6582 MB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001766/0.3877, allocations: 11.94 kB / 1.217 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.3877, allocations: 0 / 1.217 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.3879, allocations: 7.922 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.168e-05/0.3879, allocations: 4 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.732e-05/0.388, allocations: 4 kB / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3881, allocations: 31.91 kB / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.3883, allocations: 19.98 kB / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.385e-05/0.3883, allocations: 7.938 kB / 1.217 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.3883, allocations: 23.86 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.3884, allocations: 4 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.3884, allocations: 4 kB / 1.217 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.3884, allocations: 8 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.3885, allocations: 23.86 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.3886, allocations: 47.73 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.3886, allocations: 4 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3886, allocations: 0 / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.3886, allocations: 0 / 1.217 GB, free: 14.41 MB / 0.9669 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.0004564/0.3891, allocations: 355.2 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3891, allocations: 12.03 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.3891, allocations: 8.891 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.3893, allocations: 172.4 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3893, allocations: 4.375 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.3894, allocations: 8.312 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.3896, allocations: 78.22 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3896, allocations: 192 / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3896, allocations: 3.938 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3896, allocations: 0 / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.644e-05/0.3897, allocations: 51.97 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/0.3903, allocations: 499.1 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.3904, allocations: 165.1 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.3904, allocations: 84.08 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.3905, allocations: 75.28 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.601e-05/0.3905, allocations: 117.8 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3905, allocations: 0 / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.131e-05/0.3906, allocations: 29.77 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.3907, allocations: 138.6 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.3909, allocations: 173.7 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.3909, allocations: 25.7 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.391, allocations: 92.14 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.391, allocations: 4 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.391, allocations: 13.72 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3912, allocations: 322.8 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.3912, allocations: 4 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.301e-05/0.3912, allocations: 7.984 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.397e-05/0.3912, allocations: 20.78 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3912, allocations: 0 / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001298/0.3914, allocations: 57.7 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3914, allocations: 4 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3914, allocations: 0 / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3914, allocations: 0 / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/0.3915, allocations: 4 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3915, allocations: 7.922 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.3915, allocations: 7.938 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3915, allocations: 3.984 kB / 1.219 GB, free: 11.68 MB / 0.9669 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.0001221/0.3916, allocations: 193.1 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.3917, allocations: 120.9 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.539e-05/0.3918, allocations: 104.9 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.647e-05/0.3919, allocations: 184.2 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.251e-05/0.392, allocations: 180.2 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.293e-05/0.3921, allocations: 185.3 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.3924, allocations: 425.1 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.233e-05/0.3924, allocations: 105 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.3925, allocations: 108.9 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.434e-05/0.3926, allocations: 180.3 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/0.3926, allocations: 176.3 kB / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-05/0.3927, allocations: 188.2 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-05/0.3928, allocations: 184.2 kB / 1.222 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.393, allocations: 312 kB / 1.222 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.3931, allocations: 194 kB / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.3932, allocations: 184.2 kB / 1.222 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3933, allocations: 109 kB / 1.222 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.3934, allocations: 188.1 kB / 1.223 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/0.3935, allocations: 108.9 kB / 1.223 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001158/0.3936, allocations: 133 kB / 1.223 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3936, allocations: 0 / 1.223 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000251/0.3939, allocations: 4 kB / 1.223 GB, free: 7.965 MB / 0.9669 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.0002006/0.3941, allocations: 182.5 kB / 1.223 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.512e-05/0.3942, allocations: 7.938 kB / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3942, allocations: 0 / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.3942, allocations: 0 / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006065/0.3948, allocations: 465.1 kB / 1.223 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.3951, allocations: 236 kB / 1.224 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3955, allocations: 0.6924 MB / 1.224 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.774e-05/0.3955, allocations: 11.98 kB / 1.224 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.3956, allocations: 7.438 kB / 1.224 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.3956, allocations: 0 / 1.224 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of Templates: time 0.003018/0.3986, allocations: 475.3 kB / 1.225 GB, free: 5.855 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.01324161235243]