Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.001443/0.001443, allocations: 85.19 kB / 19.18 MB, free: 2.504 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.002045/0.002045, allocations: 169.4 kB / 22.46 MB, free: 5.379 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.502/1.502, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.758/2.758, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.471e-05/3.716e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002017/0.002054, allocations: 0.7543 MB / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.003493, allocations: 0.8898 MB / 0.9526 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.003551, allocations: 0 / 0.9526 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.003585, allocations: 7.875 kB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.003701, allocations: 15.92 kB / 0.9526 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.003886, allocations: 39.89 kB / 0.9527 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.004022, allocations: 83.75 kB / 0.9527 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.004139, allocations: 19.98 kB / 0.9528 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.004266, allocations: 55.89 kB / 0.9528 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.004364, allocations: 39.88 kB / 0.9529 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.004394, allocations: 11.94 kB / 0.9529 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.676e-05/0.00441, allocations: 8 kB / 0.9529 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.004441, allocations: 19.92 kB / 0.9529 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.00449, allocations: 23.97 kB / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.004648, allocations: 95.69 kB / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.004651, allocations: 3.938 kB / 0.953 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.92e-07/0.004652, allocations: 0 / 0.953 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004656, allocations: 0 / 0.953 GB, free: 9.473 MB / 0.8575 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.0006874/0.005343, allocations: 326 kB / 0.9533 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.00538, allocations: 8.031 kB / 0.9533 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.005427, allocations: 8.891 kB / 0.9533 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.005579, allocations: 113.7 kB / 0.9534 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.005605, allocations: 12.31 kB / 0.9535 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.005623, allocations: 4.375 kB / 0.9535 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.005958, allocations: 106.2 kB / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.00597, allocations: 3.938 kB / 0.9536 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.005988, allocations: 8 kB / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.005994, allocations: 0 / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.006386, allocations: 95.89 kB / 0.9537 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.006931, allocations: 268.3 kB / 0.9539 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.007613, allocations: 122.6 kB / 0.954 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.007821, allocations: 52.81 kB / 0.9541 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.007843, allocations: 0 / 0.9541 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.007881, allocations: 38.56 kB / 0.9541 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 3.006e-06/0.007884, allocations: 7.922 kB / 0.9541 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007366/0.00862, allocations: 185.4 kB / 0.9543 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.008672, allocations: 55.41 kB / 0.9544 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.008793, allocations: 117.8 kB / 0.9545 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.008818, allocations: 25.7 kB / 0.9545 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.008895, allocations: 104 kB / 0.9546 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.008924, allocations: 15.8 kB / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.008982, allocations: 25.7 kB / 0.9546 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.009159, allocations: 326.8 kB / 0.9549 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.009363, allocations: 47.95 kB / 0.955 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.009559, allocations: 43.95 kB / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.00995, allocations: 105.2 kB / 0.9551 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.009952, allocations: 0 / 0.9551 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004657/0.01042, allocations: 137.6 kB / 0.9553 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.01043, allocations: 4 kB / 0.9553 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01044, allocations: 0 / 0.9553 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.01046, allocations: 0 / 0.9553 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.01064, allocations: 23.97 kB / 0.9553 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01064, allocations: 0 / 0.9553 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.01076, allocations: 19.88 kB / 0.9553 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.01078, allocations: 11.98 kB / 0.9553 GB, free: 6.926 MB / 0.8575 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,sub.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.0001231/0.0109, allocations: 121.7 kB / 0.9554 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.01095, allocations: 11.95 kB / 0.9555 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.01098, allocations: 8.438 kB / 0.9555 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01099, allocations: 4 kB / 0.9555 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01099, allocations: 0 / 0.9555 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.011, allocations: 0 / 0.9555 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.01121, allocations: 133.2 kB / 0.9556 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.01121, allocations: 4 kB / 0.9556 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.01139, allocations: 23.97 kB / 0.9556 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01139, allocations: 4 kB / 0.9556 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.01141, allocations: 3.984 kB / 0.9556 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01141, allocations: 0 / 0.9556 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01141, allocations: 0 / 0.9556 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005593/0.01197, allocations: 239.3 kB / 0.9559 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.01199, allocations: 7.953 kB / 0.9559 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.01202, allocations: 4 kB / 0.9559 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.01216, allocations: 15.98 kB / 0.9559 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.01226, allocations: 23.97 kB / 0.9559 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.01227, allocations: 0 / 0.9559 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.031e-05/0.01235, allocations: 103.6 kB / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01235, allocations: 0 / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002513/0.0126, allocations: 19.94 kB / 0.956 GB, free: 6.156 MB / 0.8575 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 (sub.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.0001668/0.01277, allocations: 95.23 kB / 0.9561 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004663/0.01324, allocations: 103.9 kB / 0.9562 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01324, allocations: 0 / 0.9562 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.01347, allocations: 63.88 kB / 0.9563 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.01383, allocations: 11.94 kB / 0.9563 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.01439, allocations: 174.2 kB / 0.9564 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.374e-05/0.01449, allocations: 75.33 kB / 0.9565 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.977e-05/0.01456, allocations: 12 kB / 0.9565 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.639e-05/0.01463, allocations: 24.48 kB / 0.9566 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of SimCode: time 8.81e-07/0.01463, allocations: 0 / 0.9566 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of Templates: time 0.005426/0.02006, allocations: 1.691 MB / 0.9582 GB, free: 3.875 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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: 8.124755997210741]