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.0006878/0.0006878, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009895/0.001677, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006995/0.0006995, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009983/0.001698, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.026/1.026, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09528/1.121, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.972/1.972, allocations: 390 MB / 0.6193 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5075/2.479, allocations: 127.1 MB / 0.7435 GB, free: 4.512 MB / 0.7136 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.355e-06/2.355e-06, allocations: 0 / 0.7448 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.9e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.00136/0.001379, allocations: 0.7419 MB / 0.7455 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002391, allocations: 1.127 MB / 0.7466 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.002433, allocations: 1.094 kB / 0.7466 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.002456, allocations: 3.938 kB / 0.7466 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.002496, allocations: 13.11 kB / 0.7466 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.002688, allocations: 55.69 kB / 0.7467 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.793e-05/0.002786, allocations: 73.38 kB / 0.7467 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.044e-05/0.002856, allocations: 11.97 kB / 0.7468 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.409e-05/0.00295, allocations: 46.8 kB / 0.7468 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.003005, allocations: 22.83 kB / 0.7468 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.003021, allocations: 7.219 kB / 0.7468 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.74e-05/0.003098, allocations: 27.97 kB / 0.7469 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.003121, allocations: 14.73 kB / 0.7469 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.003146, allocations: 14.62 kB / 0.7469 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003265, allocations: 50.34 kB / 0.7469 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.003276, allocations: 0.6562 kB / 0.7469 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003277, allocations: 0 / 0.7469 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.003289, allocations: 4 kB / 0.7469 GB, free: 1.07 MB / 0.7136 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.0004363/0.003726, allocations: 293.1 kB / 0.7472 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.003757, allocations: 12.72 kB / 0.7472 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.003882, allocations: 94.56 kB / 0.7473 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.288e-05/0.003965, allocations: 113.7 kB / 0.7474 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.003984, allocations: 9 kB / 0.7474 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.003997, allocations: 5.875 kB / 0.7474 GB, free: 500 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.004109, allocations: 78.91 kB / 0.7475 GB, free: 412 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.004117, allocations: 4.125 kB / 0.7475 GB, free: 408 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.004124, allocations: 384 / 0.7475 GB, free: 408 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.00413, allocations: 1.344 kB / 0.7475 GB, free: 408 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.135e-05/0.004161, allocations: 19.88 kB / 0.7475 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.004439, allocations: 184.8 kB / 0.7477 GB, free: 188 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.712e-05/0.004526, allocations: 43.34 kB / 0.7478 GB, free: 136 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.004553, allocations: 22.61 kB / 0.7478 GB, free: 112 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.004572, allocations: 4.562 kB / 0.7478 GB, free: 108 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.431e-05/0.004656, allocations: 68.83 kB / 0.7479 GB, free: 28 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.004657, allocations: 0 / 0.7479 GB, free: 28 kB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001454/0.004803, allocations: 81.59 kB / 0.7479 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.004837, allocations: 59.45 kB / 0.748 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.978e-05/0.004896, allocations: 116.3 kB / 0.7481 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.004911, allocations: 29.7 kB / 0.7481 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.004941, allocations: 84.38 kB / 0.7482 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.004964, allocations: 31.77 kB / 0.7482 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.004999, allocations: 25.7 kB / 0.7483 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.005065, allocations: 325.2 kB / 0.7486 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/0.005089, allocations: 15.92 kB / 0.7486 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.005124, allocations: 34.56 kB / 0.7486 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.402e-05/0.005188, allocations: 50.55 kB / 0.7487 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.00519, allocations: 0 / 0.7487 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001033/0.005294, allocations: 79.66 kB / 0.7487 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.005308, allocations: 13.97 kB / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.005314, allocations: 0 / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.00533, allocations: 3.938 kB / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.005441, allocations: 32.52 kB / 0.7488 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.005445, allocations: 1.156 kB / 0.7488 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.005478, allocations: 7.953 kB / 0.7488 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.005487, allocations: 11.92 kB / 0.7488 GB, free: 14.97 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.881e-05/0.005556, allocations: 127.1 kB / 0.7489 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.005569, allocations: 8 kB / 0.7489 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.779e-05/0.005667, allocations: 70.09 kB / 0.749 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.00567, allocations: 4.688 kB / 0.749 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.005672, allocations: 0 / 0.749 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.005677, allocations: 6 kB / 0.749 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.005895, allocations: 219.2 kB / 0.7492 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.005899, allocations: 4 kB / 0.7492 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.005945, allocations: 11.94 kB / 0.7492 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.005956, allocations: 7.922 kB / 0.7492 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.00596, allocations: 6.75 kB / 0.7493 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.005968, allocations: 4 kB / 0.7493 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.00597, allocations: 0 / 0.7493 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.005972, allocations: 0 / 0.7493 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.00609, allocations: 167.5 kB / 0.7494 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.006116, allocations: 7.922 kB / 0.7494 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.006185, allocations: 8 kB / 0.7494 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.006217, allocations: 11.3 kB / 0.7494 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.006223, allocations: 0 / 0.7494 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.74e-05/0.00624, allocations: 12.84 kB / 0.7495 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00624, allocations: 0 / 0.7495 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001409/0.006381, allocations: 20 kB / 0.7495 GB, free: 14.24 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.0001254/0.006506, allocations: 92.34 kB / 0.7496 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.511e-05/0.006602, allocations: 57.36 kB / 0.7496 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.006608, allocations: 4 kB / 0.7496 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.002e-05/0.006648, allocations: 25.97 kB / 0.7496 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.00697, allocations: 71.39 kB / 0.7497 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.007619, allocations: 162.6 kB / 0.7499 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.784e-05/0.007657, allocations: 68.06 kB / 0.7499 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.007687, allocations: 8.484 kB / 0.7499 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.007741, allocations: 63.86 kB / 0.75 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of SimCode: time 7.41e-07/0.007741, allocations: 1.031 kB / 0.75 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of Templates: time 0.002788/0.01053, allocations: 1.137 MB / 0.7511 GB, free: 12.56 MB / 0.7292 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.0601127203553915]