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.001264/0.001264, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.001452/0.001452, allocations: 169.3 kB / 24.25 MB, free: 208 kB / 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.016/1.016, allocations: 177.1 MB / 204.7 MB, free: 5.43 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.96/1.96, allocations: 389.6 MB / 0.6355 GB, free: 12.28 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 1.673e-06/1.673e-06, allocations: 0 / 0.7754 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.564e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001982/0.002008, allocations: 1.08 MB / 0.7765 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.003281, allocations: 1.059 MB / 0.7775 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.003384, allocations: 4 kB / 0.7775 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.003508, allocations: 20.94 kB / 0.7776 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.488e-05/0.003562, allocations: 15.56 kB / 0.7776 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.003803, allocations: 84.42 kB / 0.7776 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.003947, allocations: 173.8 kB / 0.7778 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.004067, allocations: 63.98 kB / 0.7779 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.004238, allocations: 109.3 kB / 0.778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.00434, allocations: 63.73 kB / 0.778 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.004377, allocations: 16 kB / 0.7781 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.131e-05/0.004458, allocations: 16 kB / 0.7781 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.004489, allocations: 44.58 kB / 0.7781 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.004527, allocations: 51.89 kB / 0.7782 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.004686, allocations: 129.7 kB / 0.7783 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004688, allocations: 0 / 0.7783 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004689, allocations: 0 / 0.7783 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.004693, allocations: 0 / 0.7783 GB, free: 2.328 MB / 0.7292 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.0004349/0.005128, allocations: 370.9 kB / 0.7786 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.005162, allocations: 9.344 kB / 0.7787 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.795e-05/0.00526, allocations: 32.84 kB / 0.7787 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.005424, allocations: 154.6 kB / 0.7788 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.005441, allocations: 12.38 kB / 0.7788 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.005468, allocations: 16.38 kB / 0.7789 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.005638, allocations: 156.7 kB / 0.779 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.005646, allocations: 192 / 0.779 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.005658, allocations: 8.125 kB / 0.779 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.005663, allocations: 4 kB / 0.779 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.219e-05/0.005715, allocations: 44.36 kB / 0.7791 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.006221, allocations: 320.4 kB / 0.7794 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.006388, allocations: 83.12 kB / 0.7794 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.006425, allocations: 37.75 kB / 0.7795 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.006444, allocations: 4 kB / 0.7795 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.465e-05/0.006538, allocations: 111.5 kB / 0.7796 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.00654, allocations: 0 / 0.7796 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0001553/0.006695, allocations: 119.8 kB / 0.7797 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.00672, allocations: 59.34 kB / 0.7798 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.783e-05/0.006788, allocations: 145.2 kB / 0.7799 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.006806, allocations: 26.23 kB / 0.7799 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.006846, allocations: 116.4 kB / 0.78 GB, free: 412 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.006885, allocations: 73.09 kB / 0.7801 GB, free: 340 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.006928, allocations: 37.69 kB / 0.7801 GB, free: 296 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.007014, allocations: 326.8 kB / 0.7805 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.007073, allocations: 23.98 kB / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.886e-05/0.007122, allocations: 47.2 kB / 0.7805 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.454e-05/0.007197, allocations: 75.97 kB / 0.7806 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.007201, allocations: 5.625 kB / 0.7806 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001118/0.007313, allocations: 111.5 kB / 0.7807 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.007324, allocations: 4 kB / 0.7807 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.007329, allocations: 0 / 0.7807 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.007339, allocations: 8.812 kB / 0.7807 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.007435, allocations: 39.98 kB / 0.7808 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.00744, allocations: 5.156 kB / 0.7808 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.007481, allocations: 15.88 kB / 0.7808 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.00749, allocations: 8 kB / 0.7808 GB, free: 15.61 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.128e-05/0.007562, allocations: 123.5 kB / 0.7809 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.007578, allocations: 15.98 kB / 0.7809 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.007701, allocations: 110.7 kB / 0.781 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.007705, allocations: 9.094 kB / 0.781 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.007707, allocations: 0 / 0.781 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.007712, allocations: 0 / 0.781 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.008136, allocations: 377.7 kB / 0.7814 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.00814, allocations: 4 kB / 0.7814 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.715e-05/0.008237, allocations: 28.55 kB / 0.7814 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.008242, allocations: 4.938 kB / 0.7814 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.008257, allocations: 8 kB / 0.7814 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.00826, allocations: 0.5312 kB / 0.7814 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.008263, allocations: 7.938 kB / 0.7814 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.008499, allocations: 263.8 kB / 0.7817 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.008517, allocations: 15.89 kB / 0.7817 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.008538, allocations: 8 kB / 0.7817 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.074e-05/0.008599, allocations: 17.2 kB / 0.7817 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.00865, allocations: 19.97 kB / 0.7818 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.008659, allocations: 4 kB / 0.7818 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.191e-05/0.008691, allocations: 43.38 kB / 0.7818 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008691, allocations: 0 / 0.7818 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001581/0.008849, allocations: 37.08 kB / 0.7818 GB, free: 14.46 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.0001501/0.009, allocations: 93.33 kB / 0.7819 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.009152, allocations: 85.38 kB / 0.782 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.009156, allocations: 1.312 kB / 0.782 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.862e-05/0.009214, allocations: 61.12 kB / 0.7821 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.009422, allocations: 27.11 kB / 0.7821 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.01002, allocations: 363.2 kB / 0.7824 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.794e-05/0.01007, allocations: 76.06 kB / 0.7825 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.978e-05/0.01012, allocations: 19.17 kB / 0.7825 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.0102, allocations: 79.36 kB / 0.7826 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of SimCode: time 1.573e-06/0.0102, allocations: 1.031 kB / 0.7826 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of Templates: time 0.003685/0.01389, allocations: 1.847 MB / 0.7844 GB, free: 11.86 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.115277695469558]