Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.0007574/0.0007574, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007383/0.0007383, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8703/0.8703, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5487/0.5487, allocations: 114 MB / 374.7 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 0.5554 GB, free: 1.246 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.491e-05, allocations: 5.891 kB / 0.5554 GB, free: 1.242 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001976/0.002011, allocations: 0.645 MB / 0.556 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.003552, allocations: 1.088 MB / 0.5571 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.003606, allocations: 0 / 0.5571 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.00364, allocations: 3.938 kB / 0.5571 GB, free: 15.49 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.387e-05/0.003714, allocations: 11.86 kB / 0.5571 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.004067, allocations: 47.83 kB / 0.5571 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.004185, allocations: 43.86 kB / 0.5572 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.004294, allocations: 7.984 kB / 0.5572 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.004397, allocations: 35.84 kB / 0.5572 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.506e-05/0.004452, allocations: 15.97 kB / 0.5572 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.004471, allocations: 4 kB / 0.5572 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.35e-05/0.004544, allocations: 16 kB / 0.5573 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.004573, allocations: 11.97 kB / 0.5573 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.004609, allocations: 19.92 kB / 0.5573 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.004778, allocations: 63.78 kB / 0.5574 GB, free: 15.22 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.004781, allocations: 4 kB / 0.5574 GB, free: 15.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.004783, allocations: 0 / 0.5574 GB, free: 15.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.004787, allocations: 0 / 0.5574 GB, free: 15.21 MB / 490.7 MB 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.000563/0.00535, allocations: 294.2 kB / 0.5576 GB, free: 14.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.005396, allocations: 8.625 kB / 0.5576 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.005497, allocations: 4.938 kB / 0.5577 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.005591, allocations: 109.7 kB / 0.5578 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.005606, allocations: 4.375 kB / 0.5578 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.005621, allocations: 8.375 kB / 0.5578 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.005811, allocations: 66.16 kB / 0.5578 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.00582, allocations: 192 / 0.5578 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.005833, allocations: 4.375 kB / 0.5578 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.005839, allocations: 384 / 0.5578 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.005985, allocations: 47.88 kB / 0.5579 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.006411, allocations: 208.6 kB / 0.5581 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.006562, allocations: 58.48 kB / 0.5581 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.658e-05/0.006639, allocations: 28.97 kB / 0.5582 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.006663, allocations: 0 / 0.5582 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.006853, allocations: 75.31 kB / 0.5582 GB, free: 14.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.006855, allocations: 0 / 0.5582 GB, free: 14.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003672/0.007222, allocations: 133.5 kB / 0.5584 GB, free: 14.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.007267, allocations: 55.41 kB / 0.5584 GB, free: 14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.007348, allocations: 110.1 kB / 0.5585 GB, free: 13.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.007363, allocations: 25.7 kB / 0.5585 GB, free: 13.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.007407, allocations: 88.14 kB / 0.5586 GB, free: 13.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.007429, allocations: 15.84 kB / 0.5586 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.007476, allocations: 29.7 kB / 0.5587 GB, free: 13.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.007577, allocations: 310.8 kB / 0.559 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.007655, allocations: 27.97 kB / 0.559 GB, free: 13.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.576e-05/0.007751, allocations: 51.41 kB / 0.559 GB, free: 13.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.007915, allocations: 83.33 kB / 0.5591 GB, free: 13.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.007917, allocations: 0 / 0.5591 GB, free: 13.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002186/0.008136, allocations: 101.5 kB / 0.5592 GB, free: 13.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.008154, allocations: 11.94 kB / 0.5592 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.00816, allocations: 4.094 kB / 0.5592 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.008174, allocations: 0 / 0.5592 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.008268, allocations: 19.92 kB / 0.5593 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.008274, allocations: 160 / 0.5593 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.008324, allocations: 11.98 kB / 0.5593 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.008335, allocations: 4 kB / 0.5593 GB, free: 13.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.136e-05/0.008416, allocations: 109.8 kB / 0.5594 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.008436, allocations: 23.91 kB / 0.5594 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.008674, allocations: 110 kB / 0.5595 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.008677, allocations: 0 / 0.5595 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.008682, allocations: 0 / 0.5595 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.008686, allocations: 0 / 0.5595 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.009054, allocations: 290.2 kB / 0.5598 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.009056, allocations: 0 / 0.5598 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.009104, allocations: 15.92 kB / 0.5598 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.009107, allocations: 0 / 0.5598 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.009116, allocations: 4 kB / 0.5598 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.009121, allocations: 7.984 kB / 0.5598 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.009123, allocations: 0 / 0.5598 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.00935, allocations: 195.8 kB / 0.56 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.00936, allocations: 8 kB / 0.56 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.009375, allocations: 0 / 0.56 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.009455, allocations: 11.98 kB / 0.56 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.009497, allocations: 7.984 kB / 0.56 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.00951, allocations: 0 / 0.56 GB, free: 12.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.943e-05/0.009549, allocations: 91.28 kB / 0.5601 GB, free: 12.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009549, allocations: 0 / 0.5601 GB, free: 12.13 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002901/0.009839, allocations: 11.94 kB / 0.5601 GB, free: 12.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001601/0.01, allocations: 107.1 kB / 0.5602 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.01021, allocations: 59.95 kB / 0.5603 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01021, allocations: 0 / 0.5603 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.86e-05/0.0103, allocations: 40.09 kB / 0.5603 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.0106, allocations: 14.91 kB / 0.5603 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.01095, allocations: 162.5 kB / 0.5605 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.791e-05/0.01101, allocations: 63.34 kB / 0.5605 GB, free: 11.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.01104, allocations: 12.5 kB / 0.5606 GB, free: 11.61 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01104, allocations: 0 / 0.5606 GB, free: 11.61 MB / 490.7 MB Notification: Performance of Templates: time 0.002292/0.01333, allocations: 0.8767 MB / 0.5614 GB, free: 10.74 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.800266115926206] Failed to read output from testmodel.py, exit status != 0: 0.02127158548682928 0.032969912000000004 0.025845198000000003 Calling exit ...