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.0008936/0.0008936, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.0009481/0.0009481, allocations: 171.2 kB / 25.18 MB, free: 8.828 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.9169/0.9169, allocations: 177.2 MB / 205.6 MB, free: 4.367 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.942/1.942, allocations: 389.6 MB / 0.6364 GB, free: 13.27 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 1.873e-06/1.873e-06, allocations: 0 / 0.7755 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.517e-05, allocations: 2.312 kB / 0.7755 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001252/0.001267, allocations: 0.7398 MB / 0.7763 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.002304, allocations: 1.143 MB / 0.7774 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.002341, allocations: 0 / 0.7774 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.002367, allocations: 3.938 kB / 0.7774 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.585e-05/0.002422, allocations: 7.875 kB / 0.7774 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.002608, allocations: 51.75 kB / 0.7774 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.91e-05/0.002687, allocations: 71.77 kB / 0.7775 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.002745, allocations: 12 kB / 0.7775 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.002814, allocations: 35.95 kB / 0.7776 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.002858, allocations: 27.91 kB / 0.7776 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.002872, allocations: 4 kB / 0.7776 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.209e-05/0.002934, allocations: 31.91 kB / 0.7776 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.002951, allocations: 15.98 kB / 0.7776 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.002976, allocations: 19.91 kB / 0.7777 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.003081, allocations: 67.8 kB / 0.7777 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003083, allocations: 0 / 0.7777 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.4e-07/0.003083, allocations: 0 / 0.7777 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.003086, allocations: 4 kB / 0.7777 GB, free: 12.33 MB / 0.7448 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.0003489/0.003435, allocations: 280.7 kB / 0.778 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.003466, allocations: 8.031 kB / 0.778 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.471e-05/0.003551, allocations: 20.91 kB / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.199e-05/0.003623, allocations: 109.7 kB / 0.7781 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.003638, allocations: 4.375 kB / 0.7781 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.003651, allocations: 8.375 kB / 0.7781 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.932e-05/0.00375, allocations: 70.91 kB / 0.7782 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.003756, allocations: 192 / 0.7782 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.003764, allocations: 8.375 kB / 0.7782 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.003769, allocations: 4.375 kB / 0.7782 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.01e-05/0.00382, allocations: 15.88 kB / 0.7782 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.004103, allocations: 188.1 kB / 0.7784 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.536e-05/0.004179, allocations: 42.56 kB / 0.7784 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.004198, allocations: 16.86 kB / 0.7785 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.004212, allocations: 4.188 kB / 0.7785 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.691e-05/0.004279, allocations: 67.3 kB / 0.7785 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.00428, allocations: 4 kB / 0.7785 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0001227/0.004403, allocations: 81.55 kB / 0.7786 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.004437, allocations: 59.39 kB / 0.7787 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.17e-05/0.004488, allocations: 110.7 kB / 0.7788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.004503, allocations: 33.7 kB / 0.7788 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.004533, allocations: 84.31 kB / 0.7789 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.004558, allocations: 31.78 kB / 0.7789 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.004593, allocations: 33.7 kB / 0.779 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.004664, allocations: 318.8 kB / 0.7793 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.00468, allocations: 12 kB / 0.7793 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/0.004712, allocations: 46.42 kB / 0.7793 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.859e-05/0.00477, allocations: 50.55 kB / 0.7794 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.004772, allocations: 0 / 0.7794 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.449e-05/0.004856, allocations: 85.64 kB / 0.7794 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.004866, allocations: 4 kB / 0.7794 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.004869, allocations: 0 / 0.7794 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.004878, allocations: 7.938 kB / 0.7795 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.004956, allocations: 27.92 kB / 0.7795 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.004959, allocations: 4.062 kB / 0.7795 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.43e-05/0.004983, allocations: 4 kB / 0.7795 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.004991, allocations: 8 kB / 0.7795 GB, free: 10.33 MB / 0.7448 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 5.708e-05/0.005048, allocations: 117.8 kB / 0.7796 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.005057, allocations: 7.938 kB / 0.7796 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.181e-05/0.005139, allocations: 66.11 kB / 0.7797 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.005143, allocations: 7.922 kB / 0.7797 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.005144, allocations: 0 / 0.7797 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.005147, allocations: 0 / 0.7797 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.005316, allocations: 234.6 kB / 0.7799 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005318, allocations: 4 kB / 0.7799 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.005344, allocations: 8 kB / 0.7799 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.005346, allocations: 3.938 kB / 0.7799 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.005353, allocations: 3.938 kB / 0.7799 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005355, allocations: 3.984 kB / 0.7799 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.005357, allocations: 3.984 kB / 0.7799 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.577e-05/0.005443, allocations: 156.1 kB / 0.7801 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-06/0.005452, allocations: 12.19 kB / 0.7801 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.005466, allocations: 7.938 kB / 0.7801 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.409e-05/0.00551, allocations: 11.98 kB / 0.7801 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.005538, allocations: 15.92 kB / 0.7801 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.005545, allocations: 4 kB / 0.7801 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.25e-05/0.005557, allocations: 8.859 kB / 0.7801 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005557, allocations: 0 / 0.7801 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001483/0.005705, allocations: 19.98 kB / 0.7802 GB, free: 9.586 MB / 0.7448 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 9.147e-05/0.005797, allocations: 84.42 kB / 0.7802 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.913e-05/0.005886, allocations: 60.73 kB / 0.7803 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.005891, allocations: 0 / 0.7803 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.005924, allocations: 28.91 kB / 0.7803 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.006051, allocations: 15.98 kB / 0.7803 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.006407, allocations: 198.7 kB / 0.7805 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.335e-05/0.006451, allocations: 67.34 kB / 0.7806 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.006504, allocations: 63.36 kB / 0.7807 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.006504, allocations: 0 / 0.7807 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of Templates: time 0.00165/0.008154, allocations: 1.121 MB / 0.7818 GB, free: 7.891 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 > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.336802456527948]