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.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.001351/0.001351, allocations: 115.8 kB / 17.08 MB, free: 5.988 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.001383/0.001383, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.472/1.472, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.055/3.055, allocations: 489.3 MB / 0.7687 GB, free: 3.781 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.88 kB / 1.103 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9623/0.9643, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001941/0.9663, allocations: 0.7872 MB / 1.263 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009867/0.9673, allocations: 0.8556 MB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.9673, allocations: 0.8438 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.9674, allocations: 10.28 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.9675, allocations: 14.84 kB / 1.264 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.9677, allocations: 41.28 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.9678, allocations: 87.64 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.968, allocations: 26.44 kB / 1.264 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.866e-05/0.9681, allocations: 31.7 kB / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.9682, allocations: 52.56 kB / 1.264 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.9682, allocations: 8.281 kB / 1.264 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.171e-05/0.9683, allocations: 19.69 kB / 1.264 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.9683, allocations: 15.56 kB / 1.264 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.9683, allocations: 35.53 kB / 1.265 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.9685, allocations: 88.83 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.9685, allocations: 8.688 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9685, allocations: 0 / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.9686, allocations: 0 / 1.265 GB, free: 6.621 MB / 0.9981 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.0006481/0.9692, allocations: 387.6 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.9693, allocations: 13.28 kB / 1.265 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.9693, allocations: 9.172 kB / 1.265 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.9694, allocations: 179.1 kB / 1.265 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.9695, allocations: 7.719 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.9695, allocations: 4.344 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.9698, allocations: 106 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.9699, allocations: 0.8125 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.9699, allocations: 4.719 kB / 1.265 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.9699, allocations: 5.406 kB / 1.265 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.9703, allocations: 97.19 kB / 1.265 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.9708, allocations: 340.5 kB / 1.266 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.9715, allocations: 122.6 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.9717, allocations: 58.47 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.9718, allocations: 8.844 kB / 1.266 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.9718, allocations: 36.83 kB / 1.266 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.9718, allocations: 4 kB / 1.266 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0006895/0.9725, allocations: 178.2 kB / 1.266 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.9725, allocations: 52.94 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.9726, allocations: 131.3 kB / 1.266 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.9726, allocations: 26.39 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.9727, allocations: 101.1 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.9727, allocations: 20.05 kB / 1.266 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.9727, allocations: 24.05 kB / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.9728, allocations: 318.2 kB / 1.267 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.973, allocations: 45.2 kB / 1.267 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.9732, allocations: 48.11 kB / 1.267 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.9736, allocations: 99.98 kB / 1.267 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9736, allocations: 0 / 1.267 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004414/0.974, allocations: 138.1 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.9741, allocations: 9.828 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.9741, allocations: 0.75 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.9741, allocations: 0.9062 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.9743, allocations: 23.84 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.9743, allocations: 0.9062 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.9744, allocations: 24.22 kB / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.9744, allocations: 7.016 kB / 1.267 GB, free: 4.664 MB / 0.9981 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 6.681e-05/0.9745, allocations: 121.8 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.9745, allocations: 10.8 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.9746, allocations: 11.66 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.9746, allocations: 1.156 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9746, allocations: 0 / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.9746, allocations: 4.547 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.9748, allocations: 194.5 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.9748, allocations: 0.8438 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.975, allocations: 28.22 kB / 1.267 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.975, allocations: 0.8125 kB / 1.267 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.975, allocations: 6.078 kB / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.975, allocations: 0.8125 kB / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.975, allocations: 0 / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.9755, allocations: 239.8 kB / 1.268 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.9755, allocations: 84.02 kB / 1.268 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.9755, allocations: 5.391 kB / 1.268 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.9757, allocations: 12.42 kB / 1.268 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/0.9758, allocations: 25.08 kB / 1.268 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.9758, allocations: 3.328 kB / 1.268 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.761e-05/0.9759, allocations: 100.3 kB / 1.268 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9759, allocations: 0 / 1.268 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002339/0.9761, allocations: 12.22 kB / 1.268 GB, free: 3.941 MB / 0.9981 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.0001026/0.9762, allocations: 105.5 kB / 1.268 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.9767, allocations: 107.2 kB / 1.268 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9767, allocations: 0 / 1.268 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.9769, allocations: 62.62 kB / 1.268 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.9772, allocations: 9.25 kB / 1.268 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.9776, allocations: 209.1 kB / 1.268 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.9778, allocations: 0.6903 MB / 1.269 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.866e-05/0.9778, allocations: 19.95 kB / 1.269 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.9779, allocations: 0 / 1.269 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.003189/0.981, allocations: 1.243 MB / 1.27 GB, free: 2.828 MB / 0.9981 GB " [Timeout remaining time 299] 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_2/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.505132384132594]