Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.001856/0.001856, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002327/0.002327, allocations: 192.4 kB / 22.17 MB, free: 5.652 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.535/1.535, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.873/2.873, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 75.88 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.021, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002256/1.023, allocations: 0.7736 MB / 1.275 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001146/1.024, allocations: 0.8702 MB / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/1.024, allocations: 0 / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.625e-05/1.024, allocations: 7.938 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/1.024, allocations: 15.84 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/1.025, allocations: 39.95 kB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/1.025, allocations: 87.7 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/1.025, allocations: 23.97 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.076e-05/1.025, allocations: 31.86 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/1.025, allocations: 55.81 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/1.025, allocations: 8 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/1.025, allocations: 12 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/1.025, allocations: 23.84 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/1.025, allocations: 31.86 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/1.025, allocations: 90.27 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.025, allocations: 0 / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/1.025, allocations: 0 / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.191e-05/1.025, allocations: 0 / 1.276 GB, free: 2.508 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000734/1.026, allocations: 395.1 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.026, allocations: 12.03 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/1.026, allocations: 8.891 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/1.026, allocations: 188.1 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/1.026, allocations: 4.375 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/1.026, allocations: 8.359 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/1.027, allocations: 108.3 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.027, allocations: 0 / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/1.027, allocations: 4 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/1.027, allocations: 8 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/1.027, allocations: 95.89 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006416/1.028, allocations: 336.7 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006755/1.029, allocations: 114.6 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/1.029, allocations: 60.8 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/1.029, allocations: 3.984 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/1.029, allocations: 34.56 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/1.029, allocations: 3.938 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0007227/1.03, allocations: 185.4 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/1.03, allocations: 55.41 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/1.03, allocations: 125.8 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/1.03, allocations: 29.7 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/1.03, allocations: 100 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/1.03, allocations: 19.86 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/1.03, allocations: 25.7 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.03, allocations: 314.8 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/1.03, allocations: 43.95 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/1.03, allocations: 47.94 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/1.031, allocations: 108.7 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.031, allocations: 0 / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004286/1.031, allocations: 129.5 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.031, allocations: 15.94 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.031, allocations: 0 / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/1.031, allocations: 0 / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/1.032, allocations: 27.97 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.032, allocations: 0 / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/1.032, allocations: 15.92 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/1.032, allocations: 0 / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001205/1.032, allocations: 122.3 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/1.032, allocations: 11.95 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/1.032, allocations: 8.375 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.032, allocations: 4 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.032, allocations: 4 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.032, allocations: 3.938 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/1.032, allocations: 197.5 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.032, allocations: 4 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/1.032, allocations: 23.97 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.032, allocations: 3.938 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/1.032, allocations: 8 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.032, allocations: 0 / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/1.032, allocations: 0 / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/1.033, allocations: 239.3 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/1.033, allocations: 85.06 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/1.033, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/1.033, allocations: 19.97 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/1.033, allocations: 19.92 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/1.033, allocations: 7.984 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.495e-05/1.033, allocations: 87.28 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.033, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002332/1.033, allocations: 16 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001435/1.034, allocations: 110 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004676/1.034, allocations: 95.91 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.034, allocations: 3.938 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/1.034, allocations: 60.72 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/1.035, allocations: 12 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/1.035, allocations: 190.1 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/1.035, allocations: 0.6923 MB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.502e-05/1.036, allocations: 15.98 kB / 1.281 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/1.036, allocations: 23.42 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/1.036, allocations: 0 / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of Templates: time 0.00472/1.04, allocations: 1.611 MB / 1.282 GB, free: 11.9 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.532773953396827]