Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.002375/0.002375, allocations: 93.47 kB / 19.44 MB, free: 336 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.002949/0.002949, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.633 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.39/3.39, allocations: 429.4 MB / 0.6729 GB, free: 4 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8775 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.038e-05, allocations: 3.188 kB / 0.8775 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.00206/0.002091, allocations: 0.716 MB / 0.8782 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.003323, allocations: 0.83 MB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.003367, allocations: 0 / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.003393, allocations: 5.516 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.13e-05/0.003475, allocations: 10.34 kB / 0.879 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.356e-05/0.003538, allocations: 16.98 kB / 0.8791 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.099e-05/0.003629, allocations: 43.91 kB / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.003716, allocations: 5.25 kB / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.481e-05/0.003811, allocations: 23.92 kB / 0.8791 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.003854, allocations: 15.97 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.003873, allocations: 4 kB / 0.8791 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.003883, allocations: 4.938 kB / 0.8792 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.003906, allocations: 11.92 kB / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.003935, allocations: 13.33 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.944e-05/0.004035, allocations: 39.88 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004037, allocations: 0 / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004038, allocations: 0 / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.004042, allocations: 5.062 kB / 0.8792 GB, free: 4.855 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000543/0.004585, allocations: 384.1 kB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.004625, allocations: 8.688 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.004671, allocations: 8.922 kB / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.004799, allocations: 119 kB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.004814, allocations: 4.375 kB / 0.8797 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.004823, allocations: 384 / 0.8797 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.005023, allocations: 54.23 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.005032, allocations: 192 / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.005041, allocations: 4.375 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.005045, allocations: 1.719 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.005225, allocations: 43.91 kB / 0.8798 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.005641, allocations: 268.9 kB / 0.8801 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.005797, allocations: 54.39 kB / 0.8801 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.005906, allocations: 35.75 kB / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.005924, allocations: 4 kB / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.005965, allocations: 37.39 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.005965, allocations: 0 / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004104/0.006376, allocations: 97.48 kB / 0.8803 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.006423, allocations: 60 kB / 0.8804 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.006559, allocations: 165.9 kB / 0.8805 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.00658, allocations: 31.11 kB / 0.8805 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.006793, allocations: 134.9 kB / 0.8807 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.006824, allocations: 19.84 kB / 0.8807 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.00687, allocations: 15.38 kB / 0.8807 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002579/0.007128, allocations: 0.4938 MB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.85e-05/0.007217, allocations: 19.98 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.542e-05/0.007302, allocations: 19.92 kB / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.007473, allocations: 51.66 kB / 0.8813 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007474, allocations: 0 / 0.8813 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000222/0.007696, allocations: 77.89 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.007713, allocations: 7.938 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.007717, allocations: 0 / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.007735, allocations: 4.031 kB / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.007837, allocations: 11.98 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.007842, allocations: 4 kB / 0.8814 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.00789, allocations: 7.984 kB / 0.8814 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.007903, allocations: 8 kB / 0.8814 GB, free: 2.438 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.000109/0.008012, allocations: 152.6 kB / 0.8815 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.008041, allocations: 7.953 kB / 0.8815 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.008072, allocations: 11.94 kB / 0.8816 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008074, allocations: 0 / 0.8816 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.008078, allocations: 0 / 0.8816 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.00808, allocations: 4 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.008257, allocations: 124.6 kB / 0.8817 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.008258, allocations: 4 kB / 0.8817 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.172e-05/0.00833, allocations: 15.98 kB / 0.8817 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.008332, allocations: 0 / 0.8817 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.008339, allocations: 0 / 0.8817 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.008345, allocations: 3.938 kB / 0.8817 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.008348, allocations: 3.938 kB / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.008656, allocations: 219.9 kB / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.008672, allocations: 7.953 kB / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.008685, allocations: 0 / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.008764, allocations: 15.92 kB / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.008806, allocations: 4 kB / 0.8819 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.008813, allocations: 4 kB / 0.8819 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.867e-05/0.008901, allocations: 131.2 kB / 0.8821 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008901, allocations: 0 / 0.8821 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002012/0.009103, allocations: 8 kB / 0.8821 GB, free: 1.668 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001442/0.009247, allocations: 91.25 kB / 0.8822 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.00949, allocations: 55.59 kB / 0.8822 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009492, allocations: 8 kB / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.009598, allocations: 39.59 kB / 0.8823 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.009853, allocations: 4 kB / 0.8823 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.01022, allocations: 130.3 kB / 0.8824 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.713e-05/0.0103, allocations: 79.12 kB / 0.8825 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.01033, allocations: 4 kB / 0.8825 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.01037, allocations: 8.5 kB / 0.8825 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.01037, allocations: 0 / 0.8825 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of Templates: time 0.003767/0.01414, allocations: 0.7415 MB / 0.8832 GB, free: 472 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.588727870956063]