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.001512/0.001512, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00174/0.00174, allocations: 216 kB / 22.26 MB, free: 5.078 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.968/2.968, allocations: 476.7 MB / 0.7706 GB, free: 4.324 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002154/0.002154, allocations: 65.08 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.447, allocations: 170 MB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.003729/0.4507, allocations: 0.776 MB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.4528, allocations: 0.8978 MB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.4529, allocations: 4 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.661e-05/0.4529, allocations: 7.875 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.4531, allocations: 7.875 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.4534, allocations: 39.95 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.4536, allocations: 91.75 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.4538, allocations: 19.92 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.454, allocations: 39.91 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.4541, allocations: 47.81 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.4542, allocations: 8 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-05/0.4542, allocations: 8 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.4543, allocations: 27.92 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.4544, allocations: 39.78 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.4546, allocations: 83.67 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4546, allocations: 3.938 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.706e-06/0.4547, allocations: 0 / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.4547, allocations: 0 / 1.286 GB, free: 9.148 MB / 0.9825 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.001137/0.4558, allocations: 314 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.804e-05/0.4559, allocations: 8.031 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.18e-05/0.456, allocations: 20.88 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.4562, allocations: 126.4 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.4562, allocations: 4.375 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.4563, allocations: 8.375 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.4568, allocations: 108.3 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4569, allocations: 3.938 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.4569, allocations: 0 / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.4569, allocations: 4 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007025/0.4576, allocations: 107.8 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.4587, allocations: 307.8 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.4598, allocations: 126.5 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.4602, allocations: 52.81 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.4602, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/0.4603, allocations: 38.56 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.4603, allocations: 0 / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.001147/0.4614, allocations: 185.4 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.403e-05/0.4615, allocations: 55.41 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.4617, allocations: 121.8 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.4618, allocations: 29.69 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.4619, allocations: 96.08 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.4619, allocations: 19.84 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-05/0.462, allocations: 25.7 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.4622, allocations: 318.8 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.4626, allocations: 43.95 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.4629, allocations: 43.95 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006388/0.4636, allocations: 100.8 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4636, allocations: 0 / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007717/0.4643, allocations: 137.5 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.4644, allocations: 11.94 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4644, allocations: 4 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4644, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.4647, allocations: 23.97 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.4647, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.4649, allocations: 19.91 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4649, allocations: 0 / 1.288 GB, free: 6.551 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,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.0001698/0.4651, allocations: 117.8 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.4652, allocations: 11.95 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.067e-05/0.4652, allocations: 8.375 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.4652, allocations: 4 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4652, allocations: 0 / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.4652, allocations: 7.922 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.4656, allocations: 176.6 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4656, allocations: 0 / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.4659, allocations: 27.91 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.81e-06/0.4659, allocations: 0 / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.4659, allocations: 3.984 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4659, allocations: 4 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.466, allocations: 3.938 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008498/0.4668, allocations: 235.4 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.4668, allocations: 7.953 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.4669, allocations: 0 / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.4671, allocations: 15.98 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.4672, allocations: 27.89 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.4673, allocations: 4 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001108/0.4674, allocations: 95.27 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4674, allocations: 0 / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004323/0.4678, allocations: 12 kB / 1.289 GB, free: 5.73 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 (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.0001945/0.468, allocations: 103.2 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007562/0.4687, allocations: 108.5 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4688, allocations: 0 / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.4692, allocations: 67.88 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.4697, allocations: 7.938 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000811/0.4705, allocations: 176.3 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.4711, allocations: 0.6962 MB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.4712, allocations: 12 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.4713, allocations: 19.42 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.4713, allocations: 0 / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of Templates: time 0.008495/0.4798, allocations: 1.616 MB / 1.292 GB, free: 2.879 MB / 0.9825 GB " [Timeout remaining time 299] 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: 9.947969846893102]