Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.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.0007939/0.0007939, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.001964, 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.0007045/0.0007045, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009539/0.001658, 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 0.9356/0.9356, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08707/1.023, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.945/1.945, allocations: 390 MB / 0.6194 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.513/2.458, allocations: 127.1 MB / 0.7435 GB, free: 4.531 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.7449 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.872e-05, allocations: 2.312 kB / 0.7449 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001998/0.002027, allocations: 0.8352 MB / 0.7457 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.003313, allocations: 1.197 MB / 0.7469 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.00336, allocations: 0 / 0.7469 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.00339, allocations: 7.922 kB / 0.7469 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.295e-05/0.003443, allocations: 21.06 kB / 0.7469 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.003773, allocations: 127.6 kB / 0.747 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.003945, allocations: 131.7 kB / 0.7471 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.982e-05/0.004025, allocations: 19.95 kB / 0.7472 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.004141, allocations: 76 kB / 0.7472 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.077e-05/0.004222, allocations: 43.31 kB / 0.7473 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.004244, allocations: 12.88 kB / 0.7473 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.004314, allocations: 19.98 kB / 0.7473 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/0.004345, allocations: 11.94 kB / 0.7473 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.004382, allocations: 28.69 kB / 0.7473 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.004524, allocations: 87.67 kB / 0.7474 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.004538, allocations: 1.531 kB / 0.7474 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004539, allocations: 0 / 0.7474 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.004552, allocations: 0 / 0.7474 GB, free: 0.5898 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000485/0.005037, allocations: 328.5 kB / 0.7477 GB, free: 244 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.005066, allocations: 12.02 kB / 0.7477 GB, free: 232 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.005106, allocations: 8.938 kB / 0.7478 GB, free: 224 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.386e-05/0.005189, allocations: 109.8 kB / 0.7479 GB, free: 88 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.005202, allocations: 8.359 kB / 0.7479 GB, free: 80 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.005219, allocations: 8.375 kB / 0.7479 GB, free: 72 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.005354, allocations: 73.3 kB / 0.7479 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.00536, allocations: 192 / 0.7479 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.005367, allocations: 4.375 kB / 0.748 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.005375, allocations: 4.375 kB / 0.748 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.005401, allocations: 11.94 kB / 0.748 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.005665, allocations: 180.2 kB / 0.7481 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.723e-05/0.005713, allocations: 27.84 kB / 0.7482 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.00573, allocations: 8.859 kB / 0.7482 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.005748, allocations: 4 kB / 0.7482 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.628e-05/0.005844, allocations: 70 kB / 0.7482 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.005845, allocations: 0 / 0.7482 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001329/0.005978, allocations: 65.55 kB / 0.7483 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.006011, allocations: 55.41 kB / 0.7484 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.006166, allocations: 125 kB / 0.7485 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.006186, allocations: 29.7 kB / 0.7485 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.006225, allocations: 92.08 kB / 0.7486 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.006242, allocations: 18.64 kB / 0.7486 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.006292, allocations: 25.7 kB / 0.7486 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.618e-05/0.006368, allocations: 322.8 kB / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.006425, allocations: 53.69 kB / 0.749 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-05/0.00648, allocations: 72.19 kB / 0.7491 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.686e-05/0.006557, allocations: 90.77 kB / 0.7492 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.00656, allocations: 0 / 0.7492 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000144/0.006704, allocations: 161 kB / 0.7493 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.006746, allocations: 33.7 kB / 0.7493 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.006755, allocations: 7.938 kB / 0.7493 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.00677, allocations: 3.984 kB / 0.7493 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.006867, allocations: 12.61 kB / 0.7494 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.006872, allocations: 4 kB / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.006954, allocations: 29.12 kB / 0.7494 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.006969, allocations: 4.625 kB / 0.7494 GB, free: 14.36 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: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 7.933e-05/0.007049, allocations: 126.3 kB / 0.7495 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.007061, allocations: 4 kB / 0.7495 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.007087, allocations: 13.88 kB / 0.7495 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.007089, allocations: 4 kB / 0.7495 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.007092, allocations: 0 / 0.7495 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.007096, allocations: 0 / 0.7495 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.065e-05/0.007177, allocations: 79 kB / 0.7496 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.007179, allocations: 0 / 0.7496 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.07e-05/0.00723, allocations: 11.98 kB / 0.7496 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.007239, allocations: 9.016 kB / 0.7496 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.00724, allocations: 4 kB / 0.7496 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.007246, allocations: 4.641 kB / 0.7496 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.00725, allocations: 7.938 kB / 0.7496 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.007252, allocations: 0.625 kB / 0.7497 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.867e-05/0.00735, allocations: 77.97 kB / 0.7497 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.007363, allocations: 3.984 kB / 0.7497 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.527e-05/0.007388, allocations: 9.438 kB / 0.7497 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.007421, allocations: 11.92 kB / 0.7497 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.007425, allocations: 0 / 0.7497 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.185e-05/0.007447, allocations: 24.83 kB / 0.7498 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007447, allocations: 0.6562 kB / 0.7498 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001301/0.007577, allocations: 24 kB / 0.7498 GB, free: 13.92 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001708/0.007748, allocations: 82.12 kB / 0.7499 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.007909, allocations: 141.9 kB / 0.75 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.007917, allocations: 4.812 kB / 0.75 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.007956, allocations: 24.78 kB / 0.75 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.008127, allocations: 134.1 kB / 0.7502 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.008639, allocations: 161.9 kB / 0.7503 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.333e-05/0.008672, allocations: 59.34 kB / 0.7504 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.008704, allocations: 4.875 kB / 0.7504 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.001e-05/0.008794, allocations: 72.36 kB / 0.7505 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/0.008795, allocations: 0 / 0.7505 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of Templates: time 0.003803/0.0126, allocations: 1.779 MB / 0.7522 GB, free: 11.46 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.948672265745699]