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.001342/0.001342, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.001479/0.001479, allocations: 154.5 kB / 23.01 MB, free: 4.961 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] 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 2.893/2.893, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.00213/0.00213, allocations: 63.91 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9028/0.9049, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00192/0.9068, allocations: 0.7631 MB / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.9078, allocations: 0.8854 MB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.9079, allocations: 1.938 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.9079, allocations: 13.08 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.406e-05/0.908, allocations: 5.609 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.9082, allocations: 44.06 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.9083, allocations: 85.67 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.9084, allocations: 27.11 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.71e-05/0.9085, allocations: 34.91 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.9086, allocations: 48.36 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.9086, allocations: 8.312 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.031e-05/0.9086, allocations: 8.531 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.9087, allocations: 18.14 kB / 1.189 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.9087, allocations: 31.53 kB / 1.189 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.9089, allocations: 86.78 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9089, allocations: 4 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9089, allocations: 1.375 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.9089, allocations: 0 / 1.189 GB, free: 14.86 MB / 1.076 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.0006327/0.9095, allocations: 314.3 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.9096, allocations: 9.75 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.9096, allocations: 13.98 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.9097, allocations: 118 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.9098, allocations: 6.656 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.9098, allocations: 3.969 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.9101, allocations: 117 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.9101, allocations: 0 / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.9102, allocations: 6.031 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.9102, allocations: 1.344 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.9106, allocations: 96.45 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.911, allocations: 271.1 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/0.9117, allocations: 119.9 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.9119, allocations: 52.91 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.9119, allocations: 1.781 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.912, allocations: 35.78 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.912, allocations: 0 / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0007414/0.9127, allocations: 183.6 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.9127, allocations: 52.62 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.9128, allocations: 123.7 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.9128, allocations: 26.8 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.9129, allocations: 102 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.9129, allocations: 19.45 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.913, allocations: 27.36 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.913, allocations: 322.4 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.9132, allocations: 44.52 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.9134, allocations: 44.81 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.9138, allocations: 105.2 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.9138, allocations: 0 / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004462/0.9142, allocations: 139.1 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.9143, allocations: 5.312 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.9143, allocations: 0.6562 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.9143, allocations: 0 / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.9145, allocations: 31.62 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.9145, allocations: 5.312 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.9146, allocations: 16.83 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.9146, allocations: 6.281 kB / 1.191 GB, free: 13.14 MB / 1.076 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 5.831e-05/0.9147, allocations: 114.7 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.9147, allocations: 12.53 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.9147, allocations: 10.39 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.9147, allocations: 1.531 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.9147, allocations: 8.875 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.9147, allocations: 4 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.9149, allocations: 137.4 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9149, allocations: 0 / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.9151, allocations: 24.94 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.9151, allocations: 0 / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.9151, allocations: 2.234 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.9151, allocations: 0.7969 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9151, allocations: 5 kB / 1.191 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.9155, allocations: 235.6 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.9155, allocations: 11 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.9155, allocations: 1.703 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.9157, allocations: 12.02 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.9158, allocations: 20.83 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.9158, allocations: 3.578 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.918e-05/0.9158, allocations: 94.05 kB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9158, allocations: 0 / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002415/0.9161, allocations: 15.84 kB / 1.192 GB, free: 12.59 MB / 1.076 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.894e-05/0.9162, allocations: 101.9 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.9166, allocations: 107.3 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9166, allocations: 0 / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.9168, allocations: 59.86 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.9172, allocations: 13.03 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.9176, allocations: 172.7 kB / 1.192 GB, free: 12.31 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.872e-05/0.9176, allocations: 77.05 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.893e-05/0.9177, allocations: 20.09 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.9178, allocations: 26.41 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.9178, allocations: 0 / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of Templates: time 0.004843/0.9226, allocations: 1.698 MB / 1.194 GB, free: 12.05 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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/jenkins1/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: 9.008498911978677]