Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001959/0.001959, allocations: 110.2 kB / 19.69 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.002066/0.002066, allocations: 218.8 kB / 23.01 MB, free: 4.566 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7714 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002155/0.002155, allocations: 64.61 kB / 1.119 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3473, allocations: 169.9 MB / 1.285 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002084/0.3494, allocations: 0.7874 MB / 1.285 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3506, allocations: 0.8938 MB / 1.286 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.3506, allocations: 4 kB / 1.286 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.137e-05/0.3507, allocations: 11.81 kB / 1.286 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.22e-05/0.3508, allocations: 7.922 kB / 1.286 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.3509, allocations: 39.91 kB / 1.286 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.3511, allocations: 79.88 kB / 1.286 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3512, allocations: 19.98 kB / 1.286 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.243e-05/0.3513, allocations: 51.72 kB / 1.286 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.881e-05/0.3514, allocations: 47.81 kB / 1.287 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.3514, allocations: 8 kB / 1.287 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.3515, allocations: 12 kB / 1.287 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.3515, allocations: 23.92 kB / 1.287 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.3516, allocations: 35.78 kB / 1.287 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.3517, allocations: 83.66 kB / 1.287 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3517, allocations: 0 / 1.287 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3517, allocations: 0 / 1.287 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3517, allocations: 0 / 1.287 GB, free: 1.191 MB / 0.9825 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.0007315/0.3525, allocations: 326 kB / 1.287 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3525, allocations: 12.03 kB / 1.287 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.3525, allocations: 12.89 kB / 1.287 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3527, allocations: 114.4 kB / 1.287 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3527, allocations: 8.375 kB / 1.287 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3527, allocations: 4.375 kB / 1.287 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.353, allocations: 105.5 kB / 1.287 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.353, allocations: 0 / 1.287 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.353, allocations: 4 kB / 1.287 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3531, allocations: 4 kB / 1.287 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.3534, allocations: 96.39 kB / 1.287 GB, free: 472 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.354, allocations: 323.7 kB / 1.288 GB, free: 104 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006397/0.3546, allocations: 118.5 kB / 1.288 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.3548, allocations: 60.75 kB / 1.288 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3549, allocations: 0 / 1.288 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.3549, allocations: 30.56 kB / 1.288 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.3549, allocations: 0 / 1.288 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000672/0.3556, allocations: 185.5 kB / 1.288 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.3556, allocations: 51.41 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3557, allocations: 129.8 kB / 1.288 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3557, allocations: 25.7 kB / 1.288 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.3558, allocations: 100.1 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.3559, allocations: 23.83 kB / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.3559, allocations: 17.72 kB / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3561, allocations: 322.8 kB / 1.289 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.3562, allocations: 47.89 kB / 1.289 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.3564, allocations: 43.95 kB / 1.289 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.3568, allocations: 100.8 kB / 1.289 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3568, allocations: 0 / 1.289 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004166/0.3572, allocations: 133.6 kB / 1.289 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3572, allocations: 10.19 kB / 1.289 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3572, allocations: 0 / 1.289 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3572, allocations: 7.938 kB / 1.289 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.3574, allocations: 27.91 kB / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3574, allocations: 0 / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.3575, allocations: 23.86 kB / 1.289 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3575, allocations: 0 / 1.289 GB, free: 14.59 MB / 0.9981 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.0001006/0.3576, allocations: 113.8 kB / 1.289 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.3577, allocations: 8 kB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.3577, allocations: 8.375 kB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3577, allocations: 3.984 kB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3577, allocations: 7.938 kB / 1.289 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3577, allocations: 3.938 kB / 1.289 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.3579, allocations: 172.6 kB / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3579, allocations: 0 / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.3581, allocations: 23.97 kB / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.3581, allocations: 4 kB / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3581, allocations: 7.984 kB / 1.289 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.3581, allocations: 4 kB / 1.289 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3581, allocations: 0 / 1.289 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.3586, allocations: 235.9 kB / 1.29 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.3586, allocations: 19.88 kB / 1.29 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.3586, allocations: 4 kB / 1.29 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3588, allocations: 11.98 kB / 1.29 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.3588, allocations: 23.91 kB / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.3589, allocations: 4 kB / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.742e-05/0.3589, allocations: 91.27 kB / 1.29 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3589, allocations: 0 / 1.29 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002638/0.3592, allocations: 19.95 kB / 1.29 GB, free: 13.77 MB / 0.9981 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.000124/0.3593, allocations: 103.2 kB / 1.29 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004649/0.3598, allocations: 107.8 kB / 1.29 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3598, allocations: 0 / 1.29 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.36, allocations: 55.94 kB / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.3603, allocations: 12.77 kB / 1.29 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.3608, allocations: 197.3 kB / 1.29 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3611, allocations: 0.6923 MB / 1.291 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.3612, allocations: 19.42 kB / 1.291 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3612, allocations: 0 / 1.291 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.003169/0.3644, allocations: 1.239 MB / 1.292 GB, free: 11.3 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.927681033004774]