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.0009522/0.0009522, allocations: 91.67 kB / 20.95 MB, free: 3.301 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.00339/0.00339, allocations: 162 kB / 24.38 MB, free: 8.586 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.9421/0.9421, allocations: 177.1 MB / 204.8 MB, free: 5.055 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.923/1.923, allocations: 389.6 MB / 0.6356 GB, free: 12.23 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.703e-06/1.703e-06, allocations: 0 / 0.7755 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.651e-05, allocations: 5.75 kB / 0.7755 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001279/0.001296, allocations: 0.731 MB / 0.7763 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.002319, allocations: 1.124 MB / 0.7774 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.577e-05/0.002365, allocations: 0 / 0.7774 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.002395, allocations: 4.594 kB / 0.7774 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.002457, allocations: 12.19 kB / 0.7774 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.002683, allocations: 44.42 kB / 0.7774 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.002771, allocations: 56.81 kB / 0.7775 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.975e-05/0.002841, allocations: 9.328 kB / 0.7775 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.002911, allocations: 29.56 kB / 0.7775 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.218e-05/0.002953, allocations: 28.98 kB / 0.7775 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.002966, allocations: 4.5 kB / 0.7775 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.777e-05/0.003034, allocations: 16 kB / 0.7775 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.00305, allocations: 8.734 kB / 0.7776 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.003072, allocations: 23.91 kB / 0.7776 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.003176, allocations: 49.66 kB / 0.7776 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003177, allocations: 0 / 0.7776 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003178, allocations: 4 kB / 0.7776 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.003181, allocations: 0 / 0.7776 GB, free: 3.09 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.0003243/0.003505, allocations: 263.6 kB / 0.7779 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.003536, allocations: 9.344 kB / 0.7779 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.286e-05/0.003619, allocations: 20.8 kB / 0.7779 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.656e-05/0.003696, allocations: 113.7 kB / 0.778 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.003706, allocations: 8.375 kB / 0.778 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.003716, allocations: 4.375 kB / 0.778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.892e-05/0.003805, allocations: 66.22 kB / 0.7781 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.00381, allocations: 192 / 0.7781 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.003819, allocations: 4.359 kB / 0.7781 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.003823, allocations: 384 / 0.7781 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.427e-05/0.003847, allocations: 15.92 kB / 0.7781 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.004072, allocations: 160.2 kB / 0.7783 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.739e-05/0.004129, allocations: 30.56 kB / 0.7783 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.004143, allocations: 9.984 kB / 0.7783 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.004156, allocations: 4 kB / 0.7783 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.089e-05/0.004217, allocations: 59.58 kB / 0.7784 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.004218, allocations: 1.062 kB / 0.7784 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001044/0.004322, allocations: 65.55 kB / 0.7784 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.004355, allocations: 51.41 kB / 0.7785 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.198e-05/0.004407, allocations: 111.2 kB / 0.7786 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.004418, allocations: 30.48 kB / 0.7786 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.004449, allocations: 96.02 kB / 0.7787 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.004465, allocations: 12.39 kB / 0.7787 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.004492, allocations: 26.73 kB / 0.7787 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003553/0.004848, allocations: 322.8 kB / 0.7791 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.00486, allocations: 4 kB / 0.7791 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.868e-05/0.004889, allocations: 49.08 kB / 0.7791 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.878e-05/0.004937, allocations: 53.38 kB / 0.7792 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.004939, allocations: 0.5312 kB / 0.7792 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 6.927e-05/0.005008, allocations: 71.14 kB / 0.7792 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.005018, allocations: 8 kB / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.005023, allocations: 0 / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.005031, allocations: 8.594 kB / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.721e-05/0.005089, allocations: 15.98 kB / 0.7793 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.005091, allocations: 1.312 kB / 0.7793 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.005119, allocations: 11.94 kB / 0.7793 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.005125, allocations: 4 kB / 0.7793 GB, free: 1.238 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.861e-05/0.005184, allocations: 123.4 kB / 0.7794 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-06/0.005191, allocations: 7.938 kB / 0.7794 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.626e-05/0.005257, allocations: 54.42 kB / 0.7794 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.00526, allocations: 9.281 kB / 0.7795 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.005262, allocations: 0 / 0.7795 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.005265, allocations: 0 / 0.7795 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.005406, allocations: 218.8 kB / 0.7797 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005407, allocations: 0.6562 kB / 0.7797 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.005432, allocations: 8.25 kB / 0.7797 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.005433, allocations: 0.6562 kB / 0.7797 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.005439, allocations: 8.469 kB / 0.7797 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.005441, allocations: 4 kB / 0.7797 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005442, allocations: 1.781 kB / 0.7797 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.532e-05/0.005517, allocations: 147.5 kB / 0.7798 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-06/0.005523, allocations: 11.89 kB / 0.7798 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.005535, allocations: 3.938 kB / 0.7798 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.005573, allocations: 9.125 kB / 0.7799 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.005597, allocations: 11.97 kB / 0.7799 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.005605, allocations: 0 / 0.7799 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.112e-05/0.005617, allocations: 13.95 kB / 0.7799 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005617, allocations: 4 kB / 0.7799 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001223/0.005739, allocations: 8 kB / 0.7799 GB, free: 0.5586 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.568e-05/0.005825, allocations: 85.62 kB / 0.78 GB, free: 476 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.738e-05/0.005892, allocations: 41.8 kB / 0.78 GB, free: 432 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.005895, allocations: 4 kB / 0.78 GB, free: 428 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.611e-05/0.005921, allocations: 14.17 kB / 0.78 GB, free: 412 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.006042, allocations: 7.984 kB / 0.78 GB, free: 404 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.006376, allocations: 165.3 kB / 0.7802 GB, free: 212 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.985e-05/0.006406, allocations: 59.48 kB / 0.7802 GB, free: 136 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.169e-05/0.006428, allocations: 7.984 kB / 0.7803 GB, free: 128 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.006475, allocations: 56.88 kB / 0.7803 GB, free: 72 kB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.006475, allocations: 0 / 0.7803 GB, free: 72 kB / 0.7292 GB Notification: Performance of Templates: time 0.002208/0.008683, allocations: 0.9004 MB / 0.7812 GB, free: 15.22 MB / 0.7449 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.864634984172881]