Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.0007313/0.0007313, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.0008469/0.0008469, allocations: 166.3 kB / 25.18 MB, free: 8.328 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.8872/0.8872, allocations: 177.2 MB / 205.6 MB, free: 4.371 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.975/1.975, allocations: 389.6 MB / 0.6364 GB, free: 13.25 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.7756 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.601e-05, allocations: 5.688 kB / 0.7757 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002948/0.002974, allocations: 1.061 MB / 0.7767 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.004634, allocations: 1.065 MB / 0.7777 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.00477, allocations: 0 / 0.7777 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.004921, allocations: 27.67 kB / 0.7778 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.028e-05/0.005002, allocations: 23.8 kB / 0.7778 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.005327, allocations: 79.77 kB / 0.7779 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.005551, allocations: 176.1 kB / 0.778 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.005699, allocations: 57.83 kB / 0.7781 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.005874, allocations: 103.8 kB / 0.7782 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.005975, allocations: 59.78 kB / 0.7782 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.006006, allocations: 16 kB / 0.7782 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.641e-05/0.006082, allocations: 20 kB / 0.7783 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.006127, allocations: 47.77 kB / 0.7783 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.006184, allocations: 47.89 kB / 0.7784 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.006415, allocations: 135.4 kB / 0.7785 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.00642, allocations: 3.984 kB / 0.7785 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.006421, allocations: 0 / 0.7785 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.006425, allocations: 0 / 0.7785 GB, free: 11.51 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005567/0.006982, allocations: 364.2 kB / 0.7788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.007022, allocations: 8.031 kB / 0.7788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.007143, allocations: 28.91 kB / 0.7789 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.007353, allocations: 158 kB / 0.779 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.007375, allocations: 12.38 kB / 0.779 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.00741, allocations: 16.38 kB / 0.779 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.007624, allocations: 152.3 kB / 0.7792 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.007634, allocations: 192 / 0.7792 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.00765, allocations: 12.11 kB / 0.7792 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.007658, allocations: 4 kB / 0.7792 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.007731, allocations: 31.98 kB / 0.7792 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.008397, allocations: 339.6 kB / 0.7796 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.008622, allocations: 74.53 kB / 0.7796 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.00868, allocations: 40.78 kB / 0.7797 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.0087, allocations: 4 kB / 0.7797 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.008831, allocations: 113 kB / 0.7798 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.644e-06/0.008833, allocations: 0 / 0.7798 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0002102/0.009043, allocations: 117.2 kB / 0.7799 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.009077, allocations: 59.34 kB / 0.78 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.009254, allocations: 146.6 kB / 0.7801 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.00931, allocations: 33.7 kB / 0.7801 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.009395, allocations: 116.3 kB / 0.7802 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.00947, allocations: 71.41 kB / 0.7803 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-05/0.009556, allocations: 41.67 kB / 0.7803 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.009685, allocations: 326.8 kB / 0.7807 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.009814, allocations: 23.98 kB / 0.7807 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.009892, allocations: 41.69 kB / 0.7807 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.01003, allocations: 69.61 kB / 0.7808 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.01003, allocations: 7.938 kB / 0.7808 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001345/0.01017, allocations: 106.3 kB / 0.7809 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01018, allocations: 4 kB / 0.7809 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01019, allocations: 0 / 0.7809 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.0102, allocations: 7.922 kB / 0.7809 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.01031, allocations: 39.98 kB / 0.7809 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.01031, allocations: 0 / 0.7809 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.01036, allocations: 19.88 kB / 0.781 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.01037, allocations: 12.03 kB / 0.781 GB, free: 8.773 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 7.539e-05/0.01045, allocations: 121.8 kB / 0.7811 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.01047, allocations: 15.98 kB / 0.7811 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.01061, allocations: 102.7 kB / 0.7812 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.01061, allocations: 7.938 kB / 0.7812 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.01061, allocations: 0 / 0.7812 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01062, allocations: 3.984 kB / 0.7812 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.01099, allocations: 375.4 kB / 0.7816 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01099, allocations: 0 / 0.7816 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.01113, allocations: 35.97 kB / 0.7816 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01114, allocations: 4 kB / 0.7816 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.01115, allocations: 4 kB / 0.7816 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.01116, allocations: 7.938 kB / 0.7816 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.01116, allocations: 7.938 kB / 0.7816 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.01137, allocations: 268.7 kB / 0.7819 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.01139, allocations: 19.89 kB / 0.7819 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.01141, allocations: 8 kB / 0.7819 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.01147, allocations: 12.05 kB / 0.7819 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.01152, allocations: 27.88 kB / 0.782 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.01152, allocations: 8 kB / 0.782 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.489e-05/0.01155, allocations: 32.77 kB / 0.782 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01155, allocations: 0 / 0.782 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001546/0.0117, allocations: 35.94 kB / 0.782 GB, free: 7.602 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001004/0.0118, allocations: 92.34 kB / 0.7821 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.01193, allocations: 88.7 kB / 0.7822 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.01193, allocations: 0 / 0.7822 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.212e-05/0.01198, allocations: 52.72 kB / 0.7822 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.01216, allocations: 23.98 kB / 0.7823 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.01273, allocations: 396 kB / 0.7826 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.611e-05/0.01283, allocations: 108.3 kB / 0.7828 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-05/0.01292, allocations: 87.36 kB / 0.7828 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.01292, allocations: 4 kB / 0.7828 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of Templates: time 0.002287/0.0152, allocations: 1.944 MB / 0.7847 GB, free: 4.738 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.371408903971314]