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.001558/0.001558, allocations: 105 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.002192/0.002192, 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.59/1.59, allocations: 230.5 MB / 252.8 MB, free: 9.129 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.583/3.583, allocations: 0.4899 GB / 0.7915 GB, free: 33.44 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.002136/0.002136, allocations: 72.34 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.4827, allocations: 176.1 MB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002961/0.4857, allocations: 0.6623 MB / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000211/0.4859, allocations: 15.92 kB / 1.322 GB, free: 2.102 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.486, allocations: 0 / 1.322 GB, free: 2.102 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.4861, allocations: 3.938 kB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.592e-05/0.4862, allocations: 0 / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.844e-05/0.4862, allocations: 7.984 kB / 1.322 GB, free: 2.09 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.4864, allocations: 23.92 kB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.4866, allocations: 31.98 kB / 1.322 GB, free: 2.035 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.517e-05/0.4866, allocations: 11.94 kB / 1.322 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.4867, allocations: 15.92 kB / 1.322 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.4867, allocations: 4 kB / 1.322 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.4867, allocations: 4 kB / 1.322 GB, free: 2 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.4868, allocations: 15.92 kB / 1.322 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.4868, allocations: 15.88 kB / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.4869, allocations: 47.75 kB / 1.322 GB, free: 1.922 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.487, allocations: 0 / 1.322 GB, free: 1.922 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.439e-06/0.487, allocations: 4 kB / 1.322 GB, free: 1.918 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.487, allocations: 0 / 1.322 GB, free: 1.918 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.0006434/0.4876, allocations: 355.3 kB / 1.322 GB, free: 1.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.4877, allocations: 15.98 kB / 1.322 GB, free: 1.504 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.4877, allocations: 4.891 kB / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.488, allocations: 184.3 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.488, allocations: 4.375 kB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.488, allocations: 4.375 kB / 1.323 GB, free: 1.273 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.4882, allocations: 86.14 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4883, allocations: 192 / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4883, allocations: 3.938 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4883, allocations: 8 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.4884, allocations: 47.97 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006561/0.489, allocations: 483.1 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.4892, allocations: 177.1 kB / 1.323 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.4892, allocations: 80.14 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.436e-05/0.4893, allocations: 83.28 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.53e-05/0.4893, allocations: 106.3 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.4893, allocations: 0 / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001056/0.4894, allocations: 33.66 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.4895, allocations: 130.6 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.4898, allocations: 171.9 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4898, allocations: 25.7 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.4899, allocations: 104.1 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-06/0.4899, allocations: 0 / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.4899, allocations: 17.72 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4901, allocations: 322.8 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.4902, allocations: 4 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.4902, allocations: 11.98 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/0.4902, allocations: 8.859 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4902, allocations: 4.172 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001534/0.4904, allocations: 61.56 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4904, allocations: 4 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4904, allocations: 3.938 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4904, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.4905, allocations: 4 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4905, allocations: 3.938 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.4905, allocations: 7.938 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.4905, allocations: 0 / 1.325 GB, free: 15.18 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.0001606/0.4907, allocations: 201.1 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.4909, allocations: 108.9 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.332e-05/0.491, allocations: 120.8 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001946/0.4912, allocations: 176.3 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.31e-05/0.4913, allocations: 180.2 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001205/0.4914, allocations: 184.2 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.4918, allocations: 421.2 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.1e-05/0.4919, allocations: 108.9 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/0.492, allocations: 101 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001518/0.4921, allocations: 180.3 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.4922, allocations: 184.2 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001341/0.4923, allocations: 184.3 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001011/0.4924, allocations: 184.1 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.4927, allocations: 303.8 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.4928, allocations: 190 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.493, allocations: 192.2 kB / 1.327 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4931, allocations: 109.2 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.4933, allocations: 180.2 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/0.4933, allocations: 105 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001256/0.4935, allocations: 135.2 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4935, allocations: 0 / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000275/0.4937, allocations: 4 kB / 1.328 GB, free: 11.48 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.0002087/0.4939, allocations: 178.5 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.534e-05/0.494, allocations: 16.03 kB / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.494, allocations: 0 / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.494, allocations: 0 / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006084/0.4946, allocations: 461.6 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.4951, allocations: 227.1 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.4956, allocations: 0.6962 MB / 1.33 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.4956, allocations: 7.984 kB / 1.33 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/0.4957, allocations: 11.44 kB / 1.33 GB, free: 9.836 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.4957, allocations: 0 / 1.33 GB, free: 9.836 MB / 1.029 GB Notification: Performance of Templates: time 0.003456/0.4992, allocations: 468.5 kB / 1.33 GB, free: 9.379 MB / 1.029 GB " [Timeout remaining time 299] 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 -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/jenkins/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.822272557299584]