Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.001839/0.001839, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002295/0.002295, allocations: 210.1 kB / 22.99 MB, free: 4.98 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.569/1.569, 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 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.417/3.417, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [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.002183/0.002183, allocations: 69.73 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.399, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002244/0.4013, allocations: 0.7556 MB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.4025, allocations: 0.886 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.4025, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.4026, allocations: 7.875 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.847e-05/0.4027, allocations: 15.86 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.4028, allocations: 35.95 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.403, allocations: 87.77 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.4031, allocations: 23.97 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.435e-05/0.4032, allocations: 39.84 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.599e-05/0.4033, allocations: 51.81 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.4033, allocations: 8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.93e-05/0.4033, allocations: 8 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.4034, allocations: 19.92 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.4034, allocations: 27.86 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.4036, allocations: 91.59 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4036, allocations: 3.938 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4036, allocations: 4 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.4036, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 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.0007316/0.4043, allocations: 326 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4043, allocations: 8.031 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.4044, allocations: 8.891 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.4045, allocations: 118.4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.4045, allocations: 4.375 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.4046, allocations: 12.31 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.4049, allocations: 114.5 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4049, allocations: 3.938 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.4049, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.4049, allocations: 4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.4053, allocations: 95.89 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.4059, allocations: 264.4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006796/0.4065, allocations: 118.5 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.4067, allocations: 56.88 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.4068, allocations: 4 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.4068, allocations: 30.56 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4068, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006918/0.4075, allocations: 193.4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.4076, allocations: 51.41 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4077, allocations: 121.8 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.4077, allocations: 25.7 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.4078, allocations: 96.08 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.4078, allocations: 19.84 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.4079, allocations: 21.7 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.408, allocations: 330.8 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.4082, allocations: 43.95 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.4084, allocations: 44.27 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.4087, allocations: 96.92 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4088, allocations: 8 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004257/0.4092, allocations: 145.5 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4092, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4092, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4092, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.4094, allocations: 27.91 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4094, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.4095, allocations: 19.94 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.4095, allocations: 7.922 kB / 1.331 GB, free: 12.39 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: 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.0001073/0.4097, allocations: 113.8 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.4097, allocations: 4 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.4097, allocations: 12.31 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4097, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.4097, allocations: 4 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4097, allocations: 0 / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.4099, allocations: 137.2 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4099, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.4101, allocations: 31.91 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4101, allocations: 3.984 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.4101, allocations: 3.984 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4101, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4101, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.4106, allocations: 243.3 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.4106, allocations: 3.938 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.4107, allocations: 8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4108, allocations: 7.984 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.4109, allocations: 23.97 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.4109, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.201e-05/0.411, allocations: 95.27 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.411, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002418/0.4112, allocations: 19.95 kB / 1.332 GB, free: 11.62 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: 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.0001421/0.4113, allocations: 115.1 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000441/0.4118, allocations: 95.91 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4118, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.412, allocations: 63.88 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.4124, allocations: 13.25 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.4129, allocations: 170.4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.6e-05/0.4129, allocations: 75.33 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.828e-05/0.413, allocations: 11.94 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.4131, allocations: 23.42 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4131, allocations: 0 / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of Templates: time 0.005034/0.4181, allocations: 1.756 MB / 1.334 GB, free: 9.273 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.538657358993078]