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.001574/0.001574, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001524/0.001524, allocations: 209.6 kB / 22.99 MB, free: 4.984 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.246/3.246, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] 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.002059/0.002059, allocations: 70.2 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3269, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002051/0.3289, allocations: 0.7578 MB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.3301, allocations: 0.8977 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.3301, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.3302, allocations: 3.938 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.838e-05/0.3302, allocations: 11.88 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.3304, allocations: 39.94 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3305, allocations: 79.83 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3307, allocations: 19.98 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.812e-05/0.3307, allocations: 43.83 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.581e-05/0.3308, allocations: 47.83 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.3309, allocations: 12 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.808e-05/0.3309, allocations: 8 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.3309, allocations: 27.84 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.331, allocations: 27.86 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.3311, allocations: 87.66 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3311, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3311, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.3311, allocations: 0 / 1.329 GB, free: 14.96 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.00067/0.3318, allocations: 322 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3318, allocations: 19.95 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.3319, allocations: 8.891 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.332, allocations: 118.4 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.332, allocations: 4.375 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.332, allocations: 8.375 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.3324, allocations: 109.5 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3324, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3324, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3324, allocations: 4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.3328, allocations: 103.8 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.3333, allocations: 276.3 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007102/0.334, allocations: 110.5 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.3342, allocations: 60.88 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3343, allocations: 4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3343, allocations: 30.56 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3343, allocations: 3.938 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007336/0.335, allocations: 181.5 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.3351, allocations: 55.41 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3352, allocations: 121.8 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3352, allocations: 25.7 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.3353, allocations: 100.1 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.3354, allocations: 19.84 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.3354, allocations: 21.7 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3356, allocations: 326.8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.3358, allocations: 43.95 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.3359, allocations: 51.89 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.3363, allocations: 100.7 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3363, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004381/0.3367, allocations: 141.5 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3368, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3368, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3368, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.337, allocations: 27.97 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.337, allocations: 0.5469 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.3371, allocations: 15.94 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.3371, allocations: 7.922 kB / 1.331 GB, free: 12.41 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 0.0001041/0.3372, allocations: 121.8 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.3373, allocations: 4 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.3373, allocations: 8.375 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3373, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.3373, allocations: 4 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3373, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.3375, allocations: 141.2 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3375, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.3377, allocations: 23.97 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3377, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.3377, allocations: 11.98 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3377, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3377, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.3382, allocations: 243.3 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.3382, allocations: 3.938 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.3382, allocations: 11.94 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.3384, allocations: 7.984 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.3385, allocations: 27.97 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3385, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.374e-05/0.3385, allocations: 99.64 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3385, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002473/0.3388, allocations: 19.95 kB / 1.332 GB, free: 11.64 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.0001316/0.3389, allocations: 111.1 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004307/0.3393, allocations: 103.9 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3393, allocations: 3.938 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.3396, allocations: 59.94 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.3399, allocations: 10.19 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.3404, allocations: 170.4 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.391e-05/0.3404, allocations: 79.33 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.394e-05/0.3405, allocations: 4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.3406, allocations: 27.42 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3406, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of Templates: time 0.004778/0.3454, allocations: 1.751 MB / 1.334 GB, free: 9.285 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 -s gbode -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: 8.770511681010248]