Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007246/0.0007246, allocations: 92.7 kB / 20.2 MB, free: 4.348 MB / 18.57 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.001261/0.001261, allocations: 165.7 kB / 23.52 MB, free: 1.031 MB / 18.57 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 0.9231/0.9231, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.964/1.964, allocations: 428.5 MB / 0.6727 GB, free: 4.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.8771 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.46e-05, allocations: 2.312 kB / 0.8771 GB, free: 7.883 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001554/0.001589, allocations: 0.7568 MB / 0.8778 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.002557, allocations: 0.8801 MB / 0.8787 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.002605, allocations: 4.656 kB / 0.8787 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.002637, allocations: 12.92 kB / 0.8787 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.518e-05/0.002722, allocations: 12.86 kB / 0.8787 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.002902, allocations: 37.02 kB / 0.8787 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.003002, allocations: 87.81 kB / 0.8788 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.003109, allocations: 27.88 kB / 0.8788 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.254e-05/0.003201, allocations: 49.06 kB / 0.8789 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.003272, allocations: 39.88 kB / 0.8789 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.003296, allocations: 8 kB / 0.8789 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.003308, allocations: 9.156 kB / 0.8789 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.003332, allocations: 23.92 kB / 0.879 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.003361, allocations: 23.91 kB / 0.879 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.003486, allocations: 103 kB / 0.8791 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.003488, allocations: 0 / 0.8791 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003489, allocations: 0 / 0.8791 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.003493, allocations: 0 / 0.8791 GB, free: 5.84 MB / 0.8386 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.000457/0.00395, allocations: 318 kB / 0.8794 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.003988, allocations: 8.031 kB / 0.8794 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.004033, allocations: 12.89 kB / 0.8794 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.004135, allocations: 122.2 kB / 0.8795 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.00415, allocations: 4.375 kB / 0.8795 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.004165, allocations: 5.906 kB / 0.8795 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.00437, allocations: 106.2 kB / 0.8796 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.004378, allocations: 5.469 kB / 0.8796 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.004391, allocations: 4 kB / 0.8796 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.004395, allocations: 0 / 0.8796 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.004593, allocations: 97.36 kB / 0.8797 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.004973, allocations: 292.2 kB / 0.88 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.005345, allocations: 114.6 kB / 0.8801 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.005455, allocations: 56.75 kB / 0.8802 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.005472, allocations: 4 kB / 0.8802 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.00549, allocations: 34.5 kB / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.005492, allocations: 0 / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0004146/0.005906, allocations: 189.5 kB / 0.8804 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.005933, allocations: 51.41 kB / 0.8804 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/0.006009, allocations: 117.8 kB / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.006025, allocations: 37.69 kB / 0.8806 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.006068, allocations: 88.09 kB / 0.8807 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.006093, allocations: 27.78 kB / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.006129, allocations: 29.7 kB / 0.8807 GB, free: 4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.006212, allocations: 322.8 kB / 0.881 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.006313, allocations: 43.95 kB / 0.8811 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.044e-05/0.006403, allocations: 44.53 kB / 0.8811 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.006588, allocations: 100.7 kB / 0.8812 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.00659, allocations: 0 / 0.8812 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002318/0.006822, allocations: 137.6 kB / 0.8813 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.006837, allocations: 4 kB / 0.8813 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.006842, allocations: 0 / 0.8813 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.006855, allocations: 0 / 0.8813 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.517e-05/0.00694, allocations: 23.97 kB / 0.8814 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.006946, allocations: 8 kB / 0.8814 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.006997, allocations: 11.94 kB / 0.8814 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.007006, allocations: 11.92 kB / 0.8814 GB, free: 3.289 MB / 0.8386 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 6.706e-05/0.007073, allocations: 117.8 kB / 0.8815 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.007094, allocations: 7.953 kB / 0.8815 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.007116, allocations: 12.44 kB / 0.8815 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.007119, allocations: 4 kB / 0.8815 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.007124, allocations: 0 / 0.8815 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.007128, allocations: 7.922 kB / 0.8815 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.007246, allocations: 137.2 kB / 0.8817 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007248, allocations: 0 / 0.8817 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.007316, allocations: 23.97 kB / 0.8817 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.007317, allocations: 0 / 0.8817 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.007327, allocations: 3.984 kB / 0.8817 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.007329, allocations: 4 kB / 0.8817 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00733, allocations: 0 / 0.8817 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.007596, allocations: 239.3 kB / 0.8819 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.007606, allocations: 4 kB / 0.8819 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.00762, allocations: 4 kB / 0.8819 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.007692, allocations: 15.98 kB / 0.882 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.007757, allocations: 19.97 kB / 0.882 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.007764, allocations: 7.984 kB / 0.882 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.844e-05/0.007803, allocations: 91.66 kB / 0.8821 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007803, allocations: 0 / 0.8821 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001667/0.007969, allocations: 27.88 kB / 0.8821 GB, free: 2.52 MB / 0.8386 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 8.82e-05/0.008058, allocations: 102.5 kB / 0.8822 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.008308, allocations: 107.8 kB / 0.8823 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.00831, allocations: 0 / 0.8823 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.00842, allocations: 60.72 kB / 0.8824 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.008681, allocations: 26.11 kB / 0.8824 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.009009, allocations: 165.2 kB / 0.8825 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.958e-05/0.009059, allocations: 75.84 kB / 0.8826 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.875e-05/0.009108, allocations: 11.98 kB / 0.8826 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.009153, allocations: 24.44 kB / 0.8826 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/0.009153, allocations: 0 / 0.8826 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of Templates: time 0.0031/0.01225, allocations: 1.712 MB / 0.8843 GB, free: 224 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 5.113792205229402]