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.001682/0.001682, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002009/0.002009, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.155/3.155, allocations: 0.4892 GB / 0.7951 GB, free: 35.35 MB / 0.6231 GB " [Timeout remaining time 177] 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.002124/0.002124, allocations: 68.42 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3404, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002215/0.3426, allocations: 0.759 MB / 1.327 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3438, allocations: 0.89 MB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.3439, allocations: 0 / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.3439, allocations: 11.81 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.987e-05/0.344, allocations: 7.938 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.3442, allocations: 39.88 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.3443, allocations: 79.89 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3444, allocations: 19.98 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.639e-05/0.3445, allocations: 47.78 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3446, allocations: 39.95 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.3447, allocations: 8 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.3447, allocations: 8 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.3447, allocations: 19.92 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.3448, allocations: 39.83 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.3449, allocations: 83.67 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3449, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3449, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3449, 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.0006728/0.3456, allocations: 322 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3456, allocations: 12.03 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.3457, allocations: 12.89 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.3458, allocations: 130.3 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3458, allocations: 4.375 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.3459, allocations: 4.375 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.3462, allocations: 113.4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3462, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3462, allocations: 7.984 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3462, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.3466, allocations: 95.84 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.3471, allocations: 276.3 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/0.3477, allocations: 114.5 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.3479, allocations: 64.8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.3479, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3479, allocations: 34.56 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.3479, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006698/0.3486, allocations: 177.8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.3486, allocations: 55.41 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3488, allocations: 121.8 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3488, allocations: 29.7 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.3488, allocations: 96.08 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.3489, allocations: 19.83 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.3489, allocations: 29.64 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3491, allocations: 314.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.3493, allocations: 51.95 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.3494, allocations: 52.02 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.3498, allocations: 92.77 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3498, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004184/0.3502, allocations: 141.5 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3502, allocations: 7.938 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3502, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3502, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.3504, allocations: 27.91 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3504, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.3505, allocations: 19.94 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3506, allocations: 7.938 kB / 1.331 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 9.76e-05/0.3506, allocations: 117.8 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.3507, allocations: 3.984 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.3507, allocations: 12.38 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3507, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3507, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3507, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.3509, allocations: 141.2 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3509, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.3511, allocations: 23.97 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3511, allocations: 8 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3511, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3511, allocations: 4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3511, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.3516, allocations: 239.3 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.3516, allocations: 7.938 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.3516, allocations: 7.922 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.3517, allocations: 19.98 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.3518, allocations: 15.97 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.3518, allocations: 8 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.3519, allocations: 95.27 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3519, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002409/0.3521, allocations: 15.95 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.0001239/0.3523, allocations: 103.2 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004639/0.3527, allocations: 115.8 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3527, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.3529, allocations: 55.95 kB / 1.332 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.0003482/0.3533, allocations: 11.92 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.3538, allocations: 192 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.838e-05/0.3539, allocations: 81.91 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.3539, allocations: 23.42 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3539, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of Templates: time 0.003407/0.3573, allocations: 1.256 MB / 1.333 GB, free: 10.61 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/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: 10.840117445215583]