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.001901/0.001901, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002326/0.002326, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.59/1.59, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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 3.258/3.258, allocations: 429.5 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] 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.535e-06/2.535e-06, allocations: 0 / 0.8776 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.702e-05, allocations: 3.625 kB / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002143/0.00218, allocations: 0.7619 MB / 0.8784 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.003765, allocations: 0.8867 MB / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.003814, allocations: 0 / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.003869, allocations: 7.875 kB / 0.8792 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.794e-05/0.003967, allocations: 15.86 kB / 0.8792 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.004153, allocations: 44.77 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.004292, allocations: 75.83 kB / 0.8794 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.004412, allocations: 25.17 kB / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.004541, allocations: 55.88 kB / 0.8794 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.358e-05/0.004634, allocations: 43.88 kB / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.004663, allocations: 8.531 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.828e-05/0.004682, allocations: 8 kB / 0.8795 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.004712, allocations: 16.8 kB / 0.8795 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.004762, allocations: 27.91 kB / 0.8795 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.004945, allocations: 99.08 kB / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.004948, allocations: 0 / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.61e-07/0.004949, allocations: 0 / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004953, allocations: 0 / 0.8796 GB, free: 4.402 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.0006942/0.005647, allocations: 318 kB / 0.8799 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.005688, allocations: 12.02 kB / 0.8799 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.302e-05/0.005751, allocations: 12.89 kB / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.005915, allocations: 121.6 kB / 0.8801 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.005938, allocations: 8.969 kB / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.005959, allocations: 9.625 kB / 0.8801 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.006304, allocations: 102.2 kB / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.006315, allocations: 5.469 kB / 0.8802 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.00633, allocations: 7.938 kB / 0.8802 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.006334, allocations: 0 / 0.8802 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.006763, allocations: 103.9 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.007392, allocations: 272.3 kB / 0.8806 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006946/0.008087, allocations: 114.5 kB / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.008306, allocations: 60.81 kB / 0.8807 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.008326, allocations: 0 / 0.8807 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.008356, allocations: 34.56 kB / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.008357, allocations: 0 / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0007822/0.009139, allocations: 189.4 kB / 0.8809 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.009191, allocations: 51.41 kB / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.009341, allocations: 129.8 kB / 0.8811 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.009369, allocations: 25.7 kB / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.009455, allocations: 96.08 kB / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.009494, allocations: 23.8 kB / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.009556, allocations: 21.7 kB / 0.8813 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.009763, allocations: 326.8 kB / 0.8816 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.009969, allocations: 43.95 kB / 0.8816 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.01015, allocations: 47.95 kB / 0.8817 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.01053, allocations: 92.78 kB / 0.8818 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01054, allocations: 0 / 0.8818 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000477/0.01101, allocations: 137.5 kB / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.01104, allocations: 12 kB / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01104, allocations: 0 / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.01106, allocations: 0 / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.01125, allocations: 23.97 kB / 0.8819 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.01125, allocations: 0.5469 kB / 0.8819 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.01138, allocations: 15.94 kB / 0.8819 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.01139, allocations: 7.984 kB / 0.8819 GB, free: 1.855 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 0.0001209/0.01152, allocations: 113.8 kB / 0.8821 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.01157, allocations: 16 kB / 0.8821 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.0116, allocations: 8.438 kB / 0.8821 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.0116, allocations: 0 / 0.8821 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01161, allocations: 0 / 0.8821 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.01161, allocations: 0 / 0.8821 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.01183, allocations: 141.2 kB / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01183, allocations: 4 kB / 0.8822 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.01201, allocations: 27.91 kB / 0.8822 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01201, allocations: 0 / 0.8822 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01202, allocations: 3.984 kB / 0.8822 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01202, allocations: 0 / 0.8822 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01202, allocations: 7.938 kB / 0.8823 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000829/0.01285, allocations: 247.3 kB / 0.8825 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.01287, allocations: 0 / 0.8825 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01289, allocations: 4 kB / 0.8825 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.01304, allocations: 11.97 kB / 0.8825 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.01314, allocations: 23.97 kB / 0.8825 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.01315, allocations: 8 kB / 0.8825 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.701e-05/0.01324, allocations: 95.27 kB / 0.8826 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01324, allocations: 0 / 0.8826 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002695/0.01351, allocations: 23.83 kB / 0.8827 GB, free: 1.074 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 0.0001576/0.01367, allocations: 99.23 kB / 0.8827 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004687/0.01413, allocations: 103.9 kB / 0.8828 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01414, allocations: 4 kB / 0.8828 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.01436, allocations: 59.88 kB / 0.8829 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.01475, allocations: 18.44 kB / 0.8829 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/0.01528, allocations: 173.2 kB / 0.8831 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.01538, allocations: 75.19 kB / 0.8832 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.826e-05/0.01545, allocations: 12 kB / 0.8832 GB, free: 496 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/0.01554, allocations: 24.48 kB / 0.8832 GB, free: 472 kB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.01554, allocations: 4 kB / 0.8832 GB, free: 468 kB / 0.8386 GB Notification: Performance of Templates: time 0.005493/0.02103, allocations: 1.711 MB / 0.8849 GB, free: 14.78 MB / 0.8542 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 -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: 8.44423475000076]