Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.89 kB / 1.057 GB, free: 1.949 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3351, allocations: 160.7 MB / 1.214 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002202/0.3373, allocations: 0.7831 MB / 1.215 GB, free: 140 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3386, allocations: 0.8701 MB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.3386, allocations: 0 / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.49e-05/0.3387, allocations: 7.875 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.159e-05/0.3388, allocations: 7.922 kB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.339, allocations: 43.89 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.3391, allocations: 87.81 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3393, allocations: 15.98 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3394, allocations: 39.86 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3395, allocations: 47.81 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.3395, allocations: 11.94 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.937e-05/0.3395, allocations: 8 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.3396, allocations: 27.91 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.3396, allocations: 35.78 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.3398, allocations: 83.66 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3398, allocations: 4 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3398, allocations: 3.938 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3398, allocations: 0 / 1.216 GB, free: 14.84 MB / 0.9669 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.0007331/0.3405, allocations: 403.1 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3406, allocations: 8.031 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.3406, allocations: 8.891 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.3408, allocations: 172.3 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.3408, allocations: 16.36 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.3408, allocations: 4.375 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.3412, allocations: 101.5 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3412, allocations: 4 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3412, allocations: 4 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.3412, allocations: 0 / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.3416, allocations: 103.8 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.3422, allocations: 344.6 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/0.3429, allocations: 118.5 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.3431, allocations: 64.8 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.3432, allocations: 0 / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.3432, allocations: 30.56 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.3432, allocations: 0 / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0007265/0.3439, allocations: 181.5 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.344, allocations: 55.39 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3441, allocations: 121.8 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.3441, allocations: 25.7 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.3442, allocations: 100.1 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.3442, allocations: 31.72 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.3443, allocations: 21.7 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3444, allocations: 322.8 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.3446, allocations: 51.94 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.3448, allocations: 43.95 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.3452, allocations: 92.78 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3452, allocations: 0 / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004454/0.3456, allocations: 137.5 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3456, allocations: 5.875 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3457, allocations: 0 / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3457, allocations: 0 / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.3459, allocations: 31.91 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3459, allocations: 7.938 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.346, allocations: 15.92 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.346, allocations: 4 kB / 1.219 GB, free: 12.04 MB / 0.9669 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.0001262/0.3461, allocations: 117.8 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.3462, allocations: 7.953 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.3462, allocations: 8.375 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3462, allocations: 4 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3462, allocations: 4 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3462, allocations: 3.938 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.3464, allocations: 201.6 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3465, allocations: 0 / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.3466, allocations: 23.97 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3466, allocations: 0 / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3466, allocations: 4 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3466, allocations: 4 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3466, allocations: 0 / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.3472, allocations: 239.3 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.3472, allocations: 85 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.3472, allocations: 3.984 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3474, allocations: 15.98 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.3475, allocations: 27.92 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3475, allocations: 3.984 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.116e-05/0.3476, allocations: 95.27 kB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3476, allocations: 3.938 kB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002479/0.3478, allocations: 12 kB / 1.219 GB, free: 11.09 MB / 0.9669 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.0001799/0.348, allocations: 107.2 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004619/0.3485, allocations: 112.5 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3485, allocations: 0 / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.3487, allocations: 59.94 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.349, allocations: 4 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/0.3496, allocations: 210.9 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.3499, allocations: 0.6944 MB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.35, allocations: 19.44 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.35, allocations: 0 / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of Templates: time 0.003206/0.3532, allocations: 1.241 MB / 1.222 GB, free: 8.594 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.109877357957885]