Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.0009646/0.0009646, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.001058/0.001058, allocations: 161.9 kB / 24.96 MB, free: 8.656 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.9497/0.9497, allocations: 177.1 MB / 205.4 MB, free: 5.473 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.901/1.901, allocations: 389.6 MB / 0.6361 GB, free: 12.3 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.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.7759 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.854e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.0013/0.001318, allocations: 0.7329 MB / 0.7767 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009883/0.002306, allocations: 1.125 MB / 0.7778 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.00234, allocations: 0 / 0.7778 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.002362, allocations: 7.922 kB / 0.7778 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.241e-05/0.002415, allocations: 7.547 kB / 0.7778 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.002605, allocations: 47.33 kB / 0.7778 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.639e-05/0.002682, allocations: 51.95 kB / 0.7779 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.722e-05/0.002739, allocations: 7.984 kB / 0.7779 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.261e-05/0.002801, allocations: 38.42 kB / 0.7779 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.966e-05/0.002841, allocations: 20.58 kB / 0.7779 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.002852, allocations: 4 kB / 0.7779 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.566e-05/0.002918, allocations: 20.75 kB / 0.778 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.002933, allocations: 11.98 kB / 0.778 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.002953, allocations: 17.66 kB / 0.778 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.348e-05/0.003047, allocations: 51.86 kB / 0.778 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003049, allocations: 0 / 0.778 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.7e-07/0.003049, allocations: 0 / 0.778 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.003052, allocations: 0 / 0.778 GB, free: 3.285 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002658/0.003318, allocations: 262.1 kB / 0.7783 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.003345, allocations: 14.09 kB / 0.7783 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.003409, allocations: 12.81 kB / 0.7783 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.988e-05/0.003469, allocations: 120.6 kB / 0.7784 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.003476, allocations: 4.375 kB / 0.7784 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.003482, allocations: 4.375 kB / 0.7784 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.69e-05/0.003559, allocations: 66.92 kB / 0.7785 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.003564, allocations: 192 / 0.7785 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-06/0.00357, allocations: 384 / 0.7785 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-06/0.003573, allocations: 4.375 kB / 0.7785 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.003593, allocations: 7.938 kB / 0.7785 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.003789, allocations: 171 kB / 0.7787 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.109e-05/0.00384, allocations: 30.56 kB / 0.7787 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.003858, allocations: 8.859 kB / 0.7787 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.003872, allocations: 0 / 0.7787 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.003923, allocations: 63.58 kB / 0.7788 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 7.32e-07/0.003924, allocations: 0 / 0.7788 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 8.71e-05/0.004011, allocations: 63.58 kB / 0.7788 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.004036, allocations: 55.41 kB / 0.7789 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.791e-05/0.004084, allocations: 106.7 kB / 0.779 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.004098, allocations: 37.69 kB / 0.779 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.004125, allocations: 88.03 kB / 0.7791 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.004142, allocations: 17.02 kB / 0.7791 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.004168, allocations: 21.7 kB / 0.7791 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.004399, allocations: 318.8 kB / 0.7794 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.004411, allocations: 12.8 kB / 0.7795 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.992e-05/0.004441, allocations: 48.16 kB / 0.7795 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.004488, allocations: 53.67 kB / 0.7796 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.004489, allocations: 0.5938 kB / 0.7796 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 6.578e-05/0.004555, allocations: 74.42 kB / 0.7796 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.004564, allocations: 5.438 kB / 0.7796 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.004568, allocations: 4 kB / 0.7796 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.004577, allocations: 3.938 kB / 0.7796 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/0.004635, allocations: 16.64 kB / 0.7797 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.004638, allocations: 4 kB / 0.7797 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.004662, allocations: 8.641 kB / 0.7797 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.004667, allocations: 0 / 0.7797 GB, free: 1.438 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.737e-05/0.004725, allocations: 118.5 kB / 0.7798 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.004733, allocations: 12.98 kB / 0.7798 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.768e-05/0.004811, allocations: 58.42 kB / 0.7798 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.004814, allocations: 7.969 kB / 0.7799 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.004815, allocations: 0.875 kB / 0.7799 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.004818, allocations: 0 / 0.7799 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.004971, allocations: 223.4 kB / 0.7801 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.004972, allocations: 0 / 0.7801 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.005003, allocations: 12.67 kB / 0.7801 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.005004, allocations: 0 / 0.7801 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.005011, allocations: 5.688 kB / 0.7801 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005012, allocations: 0 / 0.7801 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005013, allocations: 0 / 0.7801 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.134e-05/0.005084, allocations: 151.5 kB / 0.7802 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.005091, allocations: 8.547 kB / 0.7802 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.005104, allocations: 7.938 kB / 0.7802 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.005143, allocations: 5 kB / 0.7803 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.005167, allocations: 7.984 kB / 0.7803 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.005176, allocations: 0.5312 kB / 0.7803 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.187e-05/0.005188, allocations: 21.09 kB / 0.7803 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005188, allocations: 0.9375 kB / 0.7803 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001239/0.005312, allocations: 12 kB / 0.7803 GB, free: 0.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.314e-05/0.005395, allocations: 85.23 kB / 0.7804 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.177e-05/0.005467, allocations: 41.77 kB / 0.7804 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.005469, allocations: 0.9375 kB / 0.7804 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-05/0.005496, allocations: 20.84 kB / 0.7804 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.005607, allocations: 5.906 kB / 0.7804 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.005934, allocations: 160.3 kB / 0.7806 GB, free: 412 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.778e-05/0.005962, allocations: 61.47 kB / 0.7807 GB, free: 332 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.832e-05/0.00598, allocations: 4 kB / 0.7807 GB, free: 328 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.006023, allocations: 64.38 kB / 0.7807 GB, free: 264 kB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.006024, allocations: 0 / 0.7807 GB, free: 264 kB / 0.7292 GB Notification: Performance of Templates: time 0.002056/0.008079, allocations: 0.8986 MB / 0.7816 GB, free: 15.41 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.974259588867426]