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.00191/0.00191, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002443/0.002443, allocations: 213.9 kB / 22.24 MB, free: 5.262 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.659/1.659, allocations: 230.6 MB / 256 MB, free: 7.824 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.461/3.461, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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.002969/0.002969, allocations: 70.2 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3747, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002623/0.3774, allocations: 0.7728 MB / 1.326 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.3788, allocations: 0.8783 MB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.3788, allocations: 0 / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.076e-05/0.3789, allocations: 7.875 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.929e-05/0.379, allocations: 7.938 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.3792, allocations: 43.88 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3793, allocations: 79.83 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.3794, allocations: 23.97 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.3795, allocations: 43.8 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.3796, allocations: 47.94 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.3797, allocations: 8 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.3797, allocations: 8 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.3797, allocations: 15.98 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.3798, allocations: 31.78 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.3799, allocations: 83.67 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3799, allocations: 4 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.514e-06/0.3799, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.3799, allocations: 0 / 1.328 GB, free: 15.81 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.0006846/0.3806, allocations: 326 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3807, allocations: 8.031 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.3807, allocations: 8.891 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3808, allocations: 130.3 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.3809, allocations: 4.375 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.3809, allocations: 4.375 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.3812, allocations: 109.4 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3812, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3812, allocations: 8 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.3812, allocations: 4 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.3816, allocations: 91.91 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.3822, allocations: 264.3 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.3828, allocations: 134.5 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.383, allocations: 56.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.383, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.3831, allocations: 30.56 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3831, allocations: 3.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006945/0.3837, allocations: 185.5 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3838, allocations: 51.41 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3839, allocations: 125.8 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.3839, allocations: 25.7 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.384, allocations: 100.1 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.384, allocations: 15.84 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.3841, allocations: 21.7 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3842, allocations: 326.7 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.3844, allocations: 47.95 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.3846, allocations: 43.95 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.385, allocations: 96.77 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.385, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004328/0.3854, allocations: 141.5 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3854, allocations: 5.406 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3854, allocations: 8 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3854, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.3856, allocations: 27.91 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3856, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.3857, allocations: 15.94 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.3857, allocations: 7.938 kB / 1.33 GB, free: 13.26 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.000107/0.3858, allocations: 117.8 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.3859, allocations: 7.984 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.3859, allocations: 8.375 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3859, allocations: 7.938 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3859, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3859, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.3861, allocations: 137.2 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3861, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.3863, allocations: 27.97 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3863, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3863, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3863, allocations: 4 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3863, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.3868, allocations: 243.8 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.3868, allocations: 7.938 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.3868, allocations: 3.984 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.3869, allocations: 15.98 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.387, allocations: 19.97 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.387, allocations: 4 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.437e-05/0.3871, allocations: 95.27 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3871, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002394/0.3873, allocations: 19.89 kB / 1.331 GB, free: 12.49 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.000132/0.3875, allocations: 103.2 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004569/0.3879, allocations: 115.9 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3879, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.3881, allocations: 55.95 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.3885, allocations: 13.02 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.3889, allocations: 166.3 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.892e-05/0.389, allocations: 79.33 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.419e-05/0.3891, allocations: 15.98 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.3891, allocations: 15.44 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3891, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of Templates: time 0.004906/0.394, allocations: 1.738 MB / 1.333 GB, free: 10.16 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/jenkins/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: 9.764606917276978]