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.001047/0.001047, allocations: 76.81 kB / 20.75 MB, free: 3.734 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.00109/0.00109, allocations: 161 kB / 24.17 MB, free: 324 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 0.9394/0.9394, allocations: 177.2 MB / 204.6 MB, free: 5.465 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.938/1.938, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.693e-06/1.693e-06, allocations: 0 / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.725e-05, allocations: 3.406 kB / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001318/0.001335, allocations: 0.7315 MB / 0.7759 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.00246, allocations: 1.122 MB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.002507, allocations: 0 / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.002536, allocations: 3.938 kB / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.838e-05/0.002604, allocations: 10.34 kB / 0.777 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.002879, allocations: 44.86 kB / 0.7771 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.547e-05/0.002974, allocations: 56.27 kB / 0.7771 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.565e-05/0.00305, allocations: 11.98 kB / 0.7771 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.318e-05/0.003123, allocations: 30.27 kB / 0.7771 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.003168, allocations: 27.84 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.00318, allocations: 4 kB / 0.7772 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.003252, allocations: 15.98 kB / 0.7772 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.00327, allocations: 15.98 kB / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.003293, allocations: 16.89 kB / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.00368, allocations: 51.86 kB / 0.7773 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003682, allocations: 4.781 kB / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003683, allocations: 0 / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.003686, allocations: 0.5 kB / 0.7773 GB, free: 3.281 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.0003579/0.004044, allocations: 266.1 kB / 0.7775 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.004075, allocations: 9.344 kB / 0.7775 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.883e-05/0.004154, allocations: 10.12 kB / 0.7775 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.17e-05/0.004236, allocations: 113.7 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.004249, allocations: 12.36 kB / 0.7777 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.004256, allocations: 384 / 0.7777 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.349e-05/0.004349, allocations: 63.66 kB / 0.7777 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.004357, allocations: 0.7812 kB / 0.7777 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.004364, allocations: 4.375 kB / 0.7777 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.004369, allocations: 1.562 kB / 0.7777 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.34e-05/0.004393, allocations: 11.92 kB / 0.7777 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.004619, allocations: 165.4 kB / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.172e-05/0.004681, allocations: 30.56 kB / 0.7779 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.004697, allocations: 9.578 kB / 0.7779 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.004713, allocations: 0 / 0.7779 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/0.004774, allocations: 69.06 kB / 0.778 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.004775, allocations: 0 / 0.778 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.000114/0.004889, allocations: 61.55 kB / 0.7781 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.004922, allocations: 55.41 kB / 0.7781 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.503e-05/0.004977, allocations: 111.3 kB / 0.7782 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.004989, allocations: 29.7 kB / 0.7783 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.005019, allocations: 93.14 kB / 0.7783 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.005036, allocations: 15.91 kB / 0.7784 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.005065, allocations: 29.69 kB / 0.7784 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.005132, allocations: 312.6 kB / 0.7787 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.005145, allocations: 7.984 kB / 0.7787 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.005174, allocations: 48.16 kB / 0.7787 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.981e-05/0.005224, allocations: 54.58 kB / 0.7788 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.005227, allocations: 4 kB / 0.7788 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 6.696e-05/0.005293, allocations: 66.39 kB / 0.7789 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.005304, allocations: 7.938 kB / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005308, allocations: 9.156 kB / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.005321, allocations: 3.938 kB / 0.7789 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.005385, allocations: 19.98 kB / 0.7789 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.005389, allocations: 4.906 kB / 0.7789 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.005416, allocations: 7.953 kB / 0.7789 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.005421, allocations: 0.9688 kB / 0.7789 GB, free: 1.434 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.976e-05/0.005481, allocations: 124 kB / 0.779 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.005488, allocations: 9.406 kB / 0.779 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.65e-05/0.005565, allocations: 58.11 kB / 0.7791 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.005574, allocations: 3.938 kB / 0.7791 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.005576, allocations: 0 / 0.7791 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.00558, allocations: 5.156 kB / 0.7791 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.005729, allocations: 214.7 kB / 0.7793 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.00573, allocations: 0 / 0.7793 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.005759, allocations: 13.05 kB / 0.7793 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.00576, allocations: 0 / 0.7793 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.005766, allocations: 3.938 kB / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.005767, allocations: 0.5 kB / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005768, allocations: 0.6562 kB / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.378e-05/0.005841, allocations: 151.5 kB / 0.7795 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.005849, allocations: 8.578 kB / 0.7795 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.005862, allocations: 4.469 kB / 0.7795 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.879e-05/0.005901, allocations: 12.58 kB / 0.7795 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.005925, allocations: 4 kB / 0.7795 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.005934, allocations: 1.125 kB / 0.7795 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.259e-05/0.005947, allocations: 16.84 kB / 0.7795 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005947, allocations: 0 / 0.7795 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001343/0.006081, allocations: 12.88 kB / 0.7795 GB, free: 0.7578 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.88e-05/0.00617, allocations: 87.45 kB / 0.7796 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.076e-05/0.00625, allocations: 44.75 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006252, allocations: 0 / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.482e-05/0.006277, allocations: 20.8 kB / 0.7797 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.006407, allocations: 11.98 kB / 0.7797 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.006769, allocations: 163 kB / 0.7798 GB, free: 408 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.129e-05/0.0068, allocations: 55.88 kB / 0.7799 GB, free: 332 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.478e-05/0.006825, allocations: 7.984 kB / 0.7799 GB, free: 324 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.006869, allocations: 55.38 kB / 0.78 GB, free: 268 kB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.00687, allocations: 0 / 0.78 GB, free: 268 kB / 0.7292 GB Notification: Performance of Templates: time 0.002309/0.009179, allocations: 0.9069 MB / 0.7808 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 & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.832027186639607]