Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001717/0.001717, 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.00219/0.00219, allocations: 217.2 kB / 22.99 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.294/3.294, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 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.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_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_latest_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.002148/0.002148, allocations: 69.19 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3426, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001954/0.3445, allocations: 0.767 MB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3457, allocations: 0.886 MB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.3458, allocations: 0 / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.3458, allocations: 7.875 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.3459, allocations: 7.938 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.3461, allocations: 43.88 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.3462, allocations: 83.83 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3463, allocations: 19.98 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.568e-05/0.3464, allocations: 35.84 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.3465, allocations: 39.83 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.3465, allocations: 8 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.889e-05/0.3465, allocations: 11.94 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.3466, allocations: 23.97 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.3466, allocations: 39.84 kB / 1.367 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.3467, allocations: 87.61 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3468, allocations: 0 / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3468, allocations: 0 / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3468, allocations: 0 / 1.367 GB, free: 11.55 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007235/0.3475, allocations: 318 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3475, allocations: 12.03 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.3476, allocations: 12.89 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.3477, allocations: 122.4 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.3478, allocations: 12.38 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.3478, allocations: 4.375 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.3481, allocations: 105.5 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3481, allocations: 0 / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3481, allocations: 0 / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3481, allocations: 0 / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.3485, allocations: 103.8 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.3491, allocations: 268.4 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.3497, allocations: 114.5 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.3499, allocations: 60.8 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.3499, allocations: 0 / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.35, allocations: 38.56 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.35, allocations: 4 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006936/0.3507, allocations: 177.4 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3507, allocations: 59.41 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.3509, allocations: 121.8 kB / 1.368 GB, free: 9.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.3509, allocations: 33.58 kB / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.351, allocations: 92.09 kB / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.351, allocations: 27.78 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3511, allocations: 25.7 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002322/0.3514, allocations: 318.8 kB / 1.369 GB, free: 9.398 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.3515, allocations: 43.95 kB / 1.369 GB, free: 9.355 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.3517, allocations: 44.27 kB / 1.369 GB, free: 9.312 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.3521, allocations: 108.9 kB / 1.369 GB, free: 9.203 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3521, allocations: 0 / 1.369 GB, free: 9.203 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000436/0.3525, allocations: 137.5 kB / 1.369 GB, free: 9.062 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3525, allocations: 10.95 kB / 1.369 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3526, allocations: 0 / 1.369 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3526, allocations: 0 / 1.369 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.3527, allocations: 31.91 kB / 1.369 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3528, allocations: 0 / 1.369 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3529, allocations: 11.98 kB / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.3529, allocations: 7.938 kB / 1.369 GB, free: 9.004 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: 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.0001059/0.353, allocations: 114.9 kB / 1.369 GB, free: 8.883 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.353, allocations: 3.953 kB / 1.369 GB, free: 8.879 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.3531, allocations: 20.36 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3531, allocations: 0 / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3531, allocations: 4 kB / 1.369 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3531, allocations: 0 / 1.369 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.3532, allocations: 133.2 kB / 1.369 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3532, allocations: 0 / 1.369 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.3534, allocations: 27.97 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3534, allocations: 7.938 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3534, allocations: 4 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3534, allocations: 0 / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3534, allocations: 3.938 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.354, allocations: 235.3 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.354, allocations: 11.89 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.354, allocations: 7.984 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.3542, allocations: 11.98 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.3543, allocations: 19.97 kB / 1.37 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.3543, allocations: 4 kB / 1.37 GB, free: 8.348 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.729e-05/0.3544, allocations: 91.27 kB / 1.37 GB, free: 8.258 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3544, allocations: 4 kB / 1.37 GB, free: 8.254 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002308/0.3546, allocations: 16 kB / 1.37 GB, free: 8.238 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: 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.0001198/0.3547, allocations: 99.19 kB / 1.37 GB, free: 8.133 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004355/0.3551, allocations: 111.8 kB / 1.37 GB, free: 8.023 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3551, allocations: 0 / 1.37 GB, free: 8.023 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.3553, allocations: 59.89 kB / 1.37 GB, free: 7.965 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3556, allocations: 9.547 kB / 1.37 GB, free: 7.957 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.3561, allocations: 200 kB / 1.37 GB, free: 7.727 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.603e-05/0.3562, allocations: 75.33 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.3562, allocations: 15.42 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3562, allocations: 0 / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of Templates: time 0.00331/0.3596, allocations: 1.26 MB / 1.371 GB, free: 6.363 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.172184438444674]