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.001415/0.001415, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001559/0.001559, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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 1.505/1.505, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.863/2.863, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.786e-05/4.06e-05, allocations: 6.172 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002462/0.002503, allocations: 0.7628 MB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.004051, allocations: 0.8878 MB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.00412, allocations: 0 / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.162e-05/0.004161, allocations: 7.875 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.004266, allocations: 8.562 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.004499, allocations: 44.72 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.004657, allocations: 83.83 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.004783, allocations: 25.14 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.004907, allocations: 51.88 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.859e-05/0.005005, allocations: 39.88 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.005034, allocations: 9.312 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.005054, allocations: 8 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.268e-05/0.005087, allocations: 19.92 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.005143, allocations: 29.94 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.005335, allocations: 95.66 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005338, allocations: 0 / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005338, allocations: 0 / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.005343, allocations: 0 / 0.7884 GB, free: 10.74 MB / 0.7448 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.0007171/0.00606, allocations: 310.6 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.006104, allocations: 12.97 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.006168, allocations: 12.89 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.006346, allocations: 126.7 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.006372, allocations: 4.375 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.006391, allocations: 4.375 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.006873, allocations: 103.6 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.006887, allocations: 3.938 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.006905, allocations: 5.062 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.006918, allocations: 7.984 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.007328, allocations: 93.45 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.007919, allocations: 277 kB / 0.7893 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.008601, allocations: 115.6 kB / 0.7894 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.008814, allocations: 58.3 kB / 0.7895 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.008837, allocations: 3.938 kB / 0.7895 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.008873, allocations: 40.38 kB / 0.7895 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.008874, allocations: 0 / 0.7895 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0007726/0.009646, allocations: 183.9 kB / 0.7897 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.00971, allocations: 59.39 kB / 0.7898 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.009867, allocations: 117.8 kB / 0.7899 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.009896, allocations: 25.7 kB / 0.7899 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.857e-05/0.009995, allocations: 101.3 kB / 0.79 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.01003, allocations: 15.8 kB / 0.79 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-05/0.0101, allocations: 27.36 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.0103, allocations: 318.8 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.01049, allocations: 43.95 kB / 0.7904 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.01067, allocations: 53.31 kB / 0.7904 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.01104, allocations: 102.9 kB / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01104, allocations: 0 / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000457/0.0115, allocations: 139.1 kB / 0.7907 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01151, allocations: 5.938 kB / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.01152, allocations: 0 / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.01154, allocations: 4 kB / 0.7907 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.01172, allocations: 23.97 kB / 0.7907 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01173, allocations: 2.281 kB / 0.7907 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.01185, allocations: 15.98 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.01185, allocations: 3.938 kB / 0.7907 GB, free: 8.219 MB / 0.7448 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.000124/0.01198, allocations: 121.8 kB / 0.7908 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.01203, allocations: 7.953 kB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.01206, allocations: 13.16 kB / 0.7909 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.01206, allocations: 0 / 0.7909 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.01207, allocations: 0.5312 kB / 0.7909 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01207, allocations: 1.656 kB / 0.7909 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.01228, allocations: 141.2 kB / 0.791 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.01228, allocations: 0 / 0.791 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.01245, allocations: 27.97 kB / 0.791 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01245, allocations: 0.5938 kB / 0.791 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.01247, allocations: 9.312 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01247, allocations: 0 / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01247, allocations: 0 / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.01301, allocations: 236.4 kB / 0.7913 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.01303, allocations: 12.97 kB / 0.7913 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.01305, allocations: 0 / 0.7913 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.0132, allocations: 16.83 kB / 0.7913 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.01329, allocations: 23.97 kB / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.0133, allocations: 1.281 kB / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.519e-05/0.01339, allocations: 99.64 kB / 0.7914 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01339, allocations: 0 / 0.7914 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002403/0.01363, allocations: 20.59 kB / 0.7914 GB, free: 7.457 MB / 0.7448 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.0001521/0.01378, allocations: 92.09 kB / 0.7915 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004565/0.01424, allocations: 117.4 kB / 0.7916 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01424, allocations: 0.9688 kB / 0.7916 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.01445, allocations: 59.33 kB / 0.7917 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.01483, allocations: 19.92 kB / 0.7917 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.01532, allocations: 177 kB / 0.7919 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.574e-05/0.01541, allocations: 72.88 kB / 0.7919 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.258e-05/0.01548, allocations: 12.03 kB / 0.792 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/0.01556, allocations: 28.42 kB / 0.792 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/0.01556, allocations: 0 / 0.792 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.005057/0.02062, allocations: 1.71 MB / 0.7936 GB, free: 5.168 MB / 0.7448 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/jenkins/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: 7.9824648470385]