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.00128/0.00128, allocations: 80.92 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.001489/0.001489, allocations: 161 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.007/1.007, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.915/1.915, allocations: 389.6 MB / 0.6354 GB, free: 12.33 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.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.535e-06/2.535e-06, allocations: 0 / 0.7751 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.266e-05/3.52e-05, allocations: 5.828 kB / 0.7751 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002015/0.00205, allocations: 0.6859 MB / 0.7758 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.003166, allocations: 1.133 MB / 0.7769 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.465e-05/0.003211, allocations: 0 / 0.7769 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.003239, allocations: 3.938 kB / 0.7769 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.377e-05/0.003313, allocations: 10.55 kB / 0.7769 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.003576, allocations: 61.22 kB / 0.777 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.954e-05/0.003676, allocations: 64.72 kB / 0.7771 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.993e-05/0.003746, allocations: 11.97 kB / 0.7771 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/0.003828, allocations: 42.16 kB / 0.7771 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.003876, allocations: 30.25 kB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.003892, allocations: 8 kB / 0.7771 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.555e-05/0.003948, allocations: 19.98 kB / 0.7772 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.003969, allocations: 16.94 kB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.003996, allocations: 23.92 kB / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.004108, allocations: 60.39 kB / 0.7773 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004111, allocations: 3.938 kB / 0.7773 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004112, allocations: 0.9375 kB / 0.7773 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.004116, allocations: 0 / 0.7773 GB, free: 3.316 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.0003833/0.004499, allocations: 286.2 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.004532, allocations: 9.344 kB / 0.7775 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.369e-05/0.004615, allocations: 17.38 kB / 0.7776 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.611e-05/0.004691, allocations: 109.8 kB / 0.7777 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.004709, allocations: 9.188 kB / 0.7777 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.004722, allocations: 4.375 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.004829, allocations: 80.06 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.004837, allocations: 192 / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.004851, allocations: 4.375 kB / 0.7778 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.004855, allocations: 1.312 kB / 0.7778 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.68e-05/0.004882, allocations: 11.94 kB / 0.7778 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.00514, allocations: 189.1 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.276e-05/0.005213, allocations: 56.28 kB / 0.778 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.005231, allocations: 16.8 kB / 0.778 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.005244, allocations: 0 / 0.778 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.829e-05/0.005312, allocations: 67.38 kB / 0.7781 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.005313, allocations: 0.6875 kB / 0.7781 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001297/0.005443, allocations: 78.55 kB / 0.7782 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.005478, allocations: 59.39 kB / 0.7782 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.14e-05/0.00553, allocations: 112.5 kB / 0.7783 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.005546, allocations: 33.7 kB / 0.7784 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.005575, allocations: 80.38 kB / 0.7784 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.005598, allocations: 39.66 kB / 0.7785 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.005633, allocations: 29.7 kB / 0.7785 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.005712, allocations: 323.3 kB / 0.7788 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.005729, allocations: 8 kB / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.00576, allocations: 35.11 kB / 0.7789 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.538e-05/0.005815, allocations: 62.09 kB / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.005817, allocations: 0 / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.482e-05/0.005902, allocations: 81.53 kB / 0.779 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.005914, allocations: 7.938 kB / 0.779 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.005919, allocations: 4 kB / 0.779 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.005934, allocations: 3.938 kB / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.006012, allocations: 23.98 kB / 0.779 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.006017, allocations: 7.188 kB / 0.779 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.006041, allocations: 4 kB / 0.779 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.006049, allocations: 4 kB / 0.779 GB, free: 1.332 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.591e-05/0.006115, allocations: 126.5 kB / 0.7792 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.006125, allocations: 11.98 kB / 0.7792 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.736e-05/0.006202, allocations: 66.11 kB / 0.7792 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.006205, allocations: 7.875 kB / 0.7792 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.006207, allocations: 4.609 kB / 0.7792 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.00621, allocations: 0 / 0.7792 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.006381, allocations: 228.6 kB / 0.7795 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.006383, allocations: 4 kB / 0.7795 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.006409, allocations: 4 kB / 0.7795 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.00641, allocations: 0 / 0.7795 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.006417, allocations: 12.75 kB / 0.7795 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006418, allocations: 0 / 0.7795 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.006419, allocations: 4.859 kB / 0.7795 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.77e-05/0.006507, allocations: 163.5 kB / 0.7796 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-06/0.006512, allocations: 0.5625 kB / 0.7796 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.006526, allocations: 7.938 kB / 0.7797 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.329e-05/0.006569, allocations: 12.77 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.006593, allocations: 3.984 kB / 0.7797 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.006598, allocations: 5.094 kB / 0.7797 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.708e-06/0.006608, allocations: 8.859 kB / 0.7797 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.006608, allocations: 1.469 kB / 0.7797 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001296/0.006738, allocations: 20 kB / 0.7797 GB, free: 0.6055 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: 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.0001129/0.006851, allocations: 94.84 kB / 0.7798 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.198e-05/0.006933, allocations: 53.62 kB / 0.7798 GB, free: 460 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.006935, allocations: 9 kB / 0.7799 GB, free: 452 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.006967, allocations: 25.45 kB / 0.7799 GB, free: 424 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.007095, allocations: 12.48 kB / 0.7799 GB, free: 412 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.007497, allocations: 166.6 kB / 0.78 GB, free: 220 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.362e-05/0.007531, allocations: 64.16 kB / 0.7801 GB, free: 136 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.007556, allocations: 8.484 kB / 0.7801 GB, free: 128 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.007606, allocations: 64.22 kB / 0.7802 GB, free: 64 kB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/0.007607, allocations: 0 / 0.7802 GB, free: 64 kB / 0.7292 GB Notification: Performance of Templates: time 0.002501/0.01011, allocations: 1.125 MB / 0.7813 GB, free: 15 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 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.041534372139722]