Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001765/0.001765, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001974/0.001974, allocations: 219.1 kB / 22.26 MB, free: 5.125 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.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.984 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.58/3.58, allocations: 0.5096 GB / 0.8147 GB, free: 17.36 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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_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_latest_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.002117/0.002117, allocations: 63.72 kB / 1.184 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4282, allocations: 181.4 MB / 1.361 GB, free: 196 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00289/0.4311, allocations: 0.7836 MB / 1.362 GB, free: 15.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.4328, allocations: 0.9015 MB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.499e-05/0.4329, allocations: 0 / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.422e-05/0.4329, allocations: 3.938 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.433, allocations: 15.88 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.4333, allocations: 31.95 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.4335, allocations: 87.81 kB / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.4336, allocations: 19.98 kB / 1.363 GB, free: 14.33 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.4337, allocations: 35.86 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.4339, allocations: 51.81 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.4339, allocations: 8 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.939e-05/0.4339, allocations: 8 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.434, allocations: 19.92 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.434, allocations: 47.77 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.4342, allocations: 91.61 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4342, allocations: 3.938 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4342, allocations: 0 / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.4342, allocations: 0 / 1.363 GB, free: 14.07 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.0007835/0.435, allocations: 318 kB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4351, allocations: 12.03 kB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.4351, allocations: 8.891 kB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.4353, allocations: 118.5 kB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.4353, allocations: 8.375 kB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.4353, allocations: 8.375 kB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.4357, allocations: 109.5 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4357, allocations: 4 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.4357, allocations: 0 / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4357, allocations: 3.938 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.4361, allocations: 95.91 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.4367, allocations: 319.6 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006439/0.4373, allocations: 114.6 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.4376, allocations: 60.81 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4376, allocations: 0 / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.4376, allocations: 34.56 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.4376, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0007116/0.4383, allocations: 185.4 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4384, allocations: 55.41 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.4385, allocations: 121.8 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.305e-05/0.4386, allocations: 25.7 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.4387, allocations: 96.08 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.4387, allocations: 27.78 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.4388, allocations: 25.7 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.439, allocations: 322.8 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.4392, allocations: 43.95 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.4394, allocations: 43.95 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.4397, allocations: 96.78 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4397, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004186/0.4401, allocations: 142 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.4401, allocations: 5.562 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4401, allocations: 80 / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4402, allocations: 0 / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.4403, allocations: 27.97 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.4403, allocations: 3.984 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.4405, allocations: 15.92 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.4405, allocations: 7.984 kB / 1.366 GB, free: 11.47 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,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.0001186/0.4406, allocations: 113.8 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.4406, allocations: 7.891 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.4407, allocations: 20.31 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4407, allocations: 4 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4407, allocations: 7.938 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4407, allocations: 3.938 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.4409, allocations: 172.7 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4409, allocations: 0 / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.4411, allocations: 23.97 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4411, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4411, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.4411, allocations: 4 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4411, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.4416, allocations: 239.3 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.4416, allocations: 11.88 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.4416, allocations: 4 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.4418, allocations: 7.984 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.4419, allocations: 35.84 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.4419, allocations: 0 / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.633e-05/0.4419, allocations: 99.27 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4419, allocations: 0 / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002365/0.4422, allocations: 12 kB / 1.367 GB, free: 10.65 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 (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.0001444/0.4423, allocations: 91.25 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004891/0.4428, allocations: 107.9 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4428, allocations: 4 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.443, allocations: 59.88 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.4434, allocations: 13.88 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.4439, allocations: 169.8 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.4443, allocations: 0.7001 MB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.819e-05/0.4443, allocations: 15.98 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.4444, allocations: 15.44 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.4444, allocations: 0 / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of Templates: time 0.005283/0.4497, allocations: 1.624 MB / 1.369 GB, free: 7.805 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.958918399177492]