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.0008269/0.0008269, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0009294/0.0009294, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.9152/0.9152, allocations: 177.2 MB / 203.5 MB, free: 5.691 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.796/1.796, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 5.44e-06/5.44e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.033e-05/5.577e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002075/0.002131, allocations: 0.7641 MB / 0.983 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.003381, allocations: 0.8782 MB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.003438, allocations: 0 / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.00348, allocations: 7.875 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.003596, allocations: 15.86 kB / 0.9838 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.003838, allocations: 39.89 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.003968, allocations: 83.81 kB / 0.984 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.004128, allocations: 23.98 kB / 0.984 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.004253, allocations: 47.89 kB / 0.984 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.802e-05/0.004341, allocations: 43.83 kB / 0.9841 GB, free: 156 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.004375, allocations: 8 kB / 0.9841 GB, free: 148 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.004388, allocations: 8 kB / 0.9841 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.004419, allocations: 23.91 kB / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.004468, allocations: 35.89 kB / 0.9841 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.004659, allocations: 87.8 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.004664, allocations: 0 / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.194e-06/0.004666, allocations: 0 / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.004672, allocations: 0 / 0.9842 GB, free: 15.99 MB / 0.948 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.0006134/0.005286, allocations: 330 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.005341, allocations: 8.031 kB / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.005388, allocations: 8.891 kB / 0.9845 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.005535, allocations: 121.6 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.005556, allocations: 4.375 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.005577, allocations: 8.375 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.005839, allocations: 106.2 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.005851, allocations: 3.938 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.005864, allocations: 0 / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.005871, allocations: 4 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.006078, allocations: 95.91 kB / 0.9849 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.006599, allocations: 276.2 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.007035, allocations: 110.6 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.007151, allocations: 60.81 kB / 0.9853 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.007177, allocations: 3.984 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.007203, allocations: 38.55 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.007205, allocations: 0 / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0004681/0.007674, allocations: 189.4 kB / 0.9855 GB, free: 14.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.007731, allocations: 55.41 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.007852, allocations: 121.8 kB / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.007873, allocations: 29.7 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.007947, allocations: 92.09 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.00798, allocations: 23.78 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.008032, allocations: 25.7 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.008138, allocations: 318.8 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.00826, allocations: 43.95 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.898e-05/0.008359, allocations: 51.95 kB / 0.9863 GB, free: 13.74 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.008568, allocations: 101.2 kB / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.008573, allocations: 0 / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002617/0.008835, allocations: 141.5 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.008859, allocations: 6.656 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.00887, allocations: 0 / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.008893, allocations: 0 / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.009008, allocations: 27.97 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.009017, allocations: 3.984 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.009081, allocations: 11.98 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.009091, allocations: 4 kB / 0.9865 GB, free: 13.45 MB / 0.948 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.0001042/0.009195, allocations: 125.7 kB / 0.9867 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.009217, allocations: 7.953 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.009255, allocations: 12.42 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.009258, allocations: 0 / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.009265, allocations: 0 / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.00927, allocations: 3.938 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.009423, allocations: 133.2 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.009425, allocations: 4 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-05/0.009514, allocations: 27.97 kB / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.009517, allocations: 7.938 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.00953, allocations: 4 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.009533, allocations: 0 / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009535, allocations: 0 / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.009853, allocations: 235.3 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.009874, allocations: 7.953 kB / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.009892, allocations: 0 / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.009962, allocations: 19.97 kB / 0.9871 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/0.01005, allocations: 23.97 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.01006, allocations: 4 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.442e-05/0.01011, allocations: 95.7 kB / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.01011, allocations: 0 / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001776/0.01029, allocations: 15.94 kB / 0.9872 GB, free: 12.68 MB / 0.948 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.0001496/0.01044, allocations: 95.78 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.01074, allocations: 111.9 kB / 0.9874 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.01074, allocations: 0 / 0.9874 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.01085, allocations: 59.89 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.01119, allocations: 8.266 kB / 0.9875 GB, free: 12.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/0.01171, allocations: 195.1 kB / 0.9877 GB, free: 12.17 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.668e-05/0.01179, allocations: 79.58 kB / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.01186, allocations: 20.48 kB / 0.9878 GB, free: 12.05 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.01186, allocations: 0 / 0.9878 GB, free: 12.05 MB / 0.948 GB Notification: Performance of Templates: time 0.003145/0.015, allocations: 1.265 MB / 0.989 GB, free: 10.79 MB / 0.948 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: 6.650574105791748]