Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001572/0.001572, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001992/0.001992, allocations: 218.5 kB / 23.01 MB, free: 4.609 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.061/3.061, allocations: 0.49 GB / 0.7958 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002102/0.002102, allocations: 68.28 kB / 1.155 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3419, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002044/0.344, allocations: 0.8051 MB / 1.328 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3451, allocations: 0.8977 MB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.3452, allocations: 4 kB / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.3452, allocations: 7.875 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.402e-05/0.3453, allocations: 7.938 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.3455, allocations: 47.88 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.3456, allocations: 79.83 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3458, allocations: 23.97 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.775e-05/0.3459, allocations: 39.86 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.84e-05/0.346, allocations: 43.83 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.346, allocations: 8 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.752e-05/0.346, allocations: 8 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.346, allocations: 19.91 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.3461, allocations: 43.78 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.3463, allocations: 79.67 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.3463, allocations: 4 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.925e-06/0.3463, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3463, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 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.0006708/0.3469, allocations: 326 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.347, allocations: 8.031 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.347, allocations: 8.891 kB / 1.33 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3472, allocations: 130.3 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.3472, allocations: 8.375 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.3472, allocations: 8.375 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.3475, allocations: 109.5 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3476, allocations: 0 / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.3476, allocations: 4 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3476, allocations: 0 / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.348, allocations: 95.91 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.3486, allocations: 315.7 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.3492, allocations: 110.6 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.3494, allocations: 64.75 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3495, allocations: 3.984 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3495, allocations: 30.56 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3495, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006858/0.3502, allocations: 185.5 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3502, allocations: 51.41 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.3503, allocations: 121.8 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.3504, allocations: 33.64 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.3504, allocations: 96.08 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.3505, allocations: 19.84 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.3505, allocations: 21.7 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3507, allocations: 326.8 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.3508, allocations: 47.89 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.351, allocations: 43.95 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.3513, allocations: 96.78 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3513, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004138/0.3518, allocations: 137.5 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3518, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.3518, allocations: 3.984 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3518, allocations: 3.938 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.352, allocations: 35.91 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.352, allocations: 4 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.3521, allocations: 19.88 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3521, allocations: 7.984 kB / 1.332 GB, free: 12.76 MB / 1.029 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 9.659e-05/0.3522, allocations: 113.8 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.3522, allocations: 4 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.3523, allocations: 8.375 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3523, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3523, allocations: 4 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3523, allocations: 3.938 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.3525, allocations: 172.6 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3525, allocations: 0 / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.3527, allocations: 27.97 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3527, allocations: 0 / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3527, allocations: 4 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3527, allocations: 0 / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3527, allocations: 0 / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.3532, allocations: 243.8 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.3532, allocations: 7.938 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3532, allocations: 7.984 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3534, allocations: 11.98 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.3534, allocations: 23.91 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.3534, allocations: 8 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.191e-05/0.3535, allocations: 91.27 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3535, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002332/0.3537, allocations: 19.95 kB / 1.332 GB, free: 11.95 MB / 1.029 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.0001324/0.3539, allocations: 99.23 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004197/0.3543, allocations: 115.9 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3543, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.3545, allocations: 55.89 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.3548, allocations: 11.98 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.3553, allocations: 192.1 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.3556, allocations: 0.7039 MB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.3557, allocations: 19.42 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3557, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of Templates: time 0.00303/0.3587, allocations: 1.232 MB / 1.335 GB, free: 9.465 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.945841562992427]