Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001438/0.001438, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001723/0.001723, allocations: 165 kB / 24.16 MB, free: 336 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.041/1.041, allocations: 177.2 MB / 204.6 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 2.086/2.086, allocations: 389.6 MB / 0.6354 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 177] 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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.176e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001517/0.001539, allocations: 0.731 MB / 0.7759 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.00304, allocations: 1.131 MB / 0.777 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.003091, allocations: 4 kB / 0.777 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.003121, allocations: 3.938 kB / 0.777 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.003198, allocations: 15.53 kB / 0.777 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.003461, allocations: 52.8 kB / 0.7771 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.973e-05/0.00356, allocations: 72.81 kB / 0.7772 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.231e-05/0.003633, allocations: 12.56 kB / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.003721, allocations: 38.81 kB / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.991e-05/0.003771, allocations: 27.95 kB / 0.7772 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.003787, allocations: 9.5 kB / 0.7772 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.003861, allocations: 19.98 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.003881, allocations: 23.91 kB / 0.7773 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.003905, allocations: 15.98 kB / 0.7773 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.004029, allocations: 68.69 kB / 0.7774 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.004032, allocations: 4 kB / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.32e-07/0.004033, allocations: 0 / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.004037, allocations: 1.188 kB / 0.7774 GB, free: 3.164 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003632/0.0044, allocations: 278 kB / 0.7776 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.00443, allocations: 13.34 kB / 0.7776 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.004508, allocations: 12.89 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.429e-05/0.004592, allocations: 110.7 kB / 0.7778 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.004607, allocations: 384 / 0.7778 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.00462, allocations: 13.09 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.004731, allocations: 74.86 kB / 0.7778 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004739, allocations: 0.6875 kB / 0.7778 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.004746, allocations: 5 kB / 0.7779 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.004752, allocations: 384 / 0.7779 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.121e-05/0.004783, allocations: 21.64 kB / 0.7779 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.005072, allocations: 184.2 kB / 0.778 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.191e-05/0.005144, allocations: 46.55 kB / 0.7781 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.005165, allocations: 22.03 kB / 0.7781 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.005179, allocations: 4 kB / 0.7781 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.349e-05/0.005253, allocations: 67.88 kB / 0.7782 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.005254, allocations: 3.656 kB / 0.7782 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001302/0.005384, allocations: 77.55 kB / 0.7783 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.005417, allocations: 55.41 kB / 0.7783 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.805e-05/0.005475, allocations: 114.7 kB / 0.7784 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.005488, allocations: 25.7 kB / 0.7784 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.00552, allocations: 96.34 kB / 0.7785 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.005542, allocations: 23.75 kB / 0.7786 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.00558, allocations: 37.69 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.005654, allocations: 318.8 kB / 0.7789 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.005673, allocations: 15.94 kB / 0.7789 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.005704, allocations: 37.3 kB / 0.779 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.927e-05/0.005763, allocations: 54.58 kB / 0.779 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.005766, allocations: 0 / 0.779 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 9.508e-05/0.005861, allocations: 85.55 kB / 0.7791 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.005873, allocations: 7.984 kB / 0.7791 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.005878, allocations: 5.5 kB / 0.7791 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.005893, allocations: 7.938 kB / 0.7791 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.005975, allocations: 23.98 kB / 0.7791 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.005978, allocations: 4.562 kB / 0.7791 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.006006, allocations: 9.75 kB / 0.7791 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.006015, allocations: 4 kB / 0.7791 GB, free: 1.176 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 6.307e-05/0.006078, allocations: 122.5 kB / 0.7793 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.00609, allocations: 7.984 kB / 0.7793 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.991e-05/0.00618, allocations: 67.27 kB / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.006183, allocations: 3.938 kB / 0.7793 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.006184, allocations: 0 / 0.7793 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.006187, allocations: 0.9375 kB / 0.7793 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.006374, allocations: 230.7 kB / 0.7796 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006375, allocations: 0 / 0.7796 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.00641, allocations: 12.95 kB / 0.7796 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.006414, allocations: 4 kB / 0.7796 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.00642, allocations: 4.469 kB / 0.7796 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.006422, allocations: 0 / 0.7796 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006423, allocations: 0.9375 kB / 0.7796 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.642e-05/0.00652, allocations: 175.4 kB / 0.7797 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-06/0.006526, allocations: 0.875 kB / 0.7797 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.006541, allocations: 7.938 kB / 0.7798 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.61e-05/0.006587, allocations: 9.422 kB / 0.7798 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.006615, allocations: 4 kB / 0.7798 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.006623, allocations: 7.984 kB / 0.7798 GB, free: 496 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.217e-05/0.006635, allocations: 8.859 kB / 0.7798 GB, free: 484 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006635, allocations: 0.6562 kB / 0.7798 GB, free: 484 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001562/0.006791, allocations: 20 kB / 0.7798 GB, free: 464 kB / 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001285/0.00692, allocations: 89.53 kB / 0.7799 GB, free: 364 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.007035, allocations: 57.27 kB / 0.7799 GB, free: 304 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.007038, allocations: 0.875 kB / 0.7799 GB, free: 304 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.007078, allocations: 28.78 kB / 0.78 GB, free: 272 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.007236, allocations: 9.703 kB / 0.78 GB, free: 264 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.007695, allocations: 170.5 kB / 0.7801 GB, free: 68 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.847e-05/0.007753, allocations: 59.34 kB / 0.7802 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.007785, allocations: 9.438 kB / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.007844, allocations: 60.3 kB / 0.7803 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.007845, allocations: 3.938 kB / 0.7803 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of Templates: time 0.003028/0.01087, allocations: 1.123 MB / 0.7814 GB, free: 14.86 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.121672359760851]