Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001014/0.001014, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001295/0.002309, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007324/0.0007324, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000941/0.001673, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9804/0.9804, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08715/1.068, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.937/1.937, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5166/2.453, allocations: 127.1 MB / 0.7432 GB, free: 4.625 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.7444 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.566e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.00148/0.001506, allocations: 0.7201 MB / 0.7451 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.002669, allocations: 1.115 MB / 0.7462 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.002711, allocations: 0.7812 kB / 0.7462 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.002738, allocations: 5.359 kB / 0.7462 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.002776, allocations: 5.609 kB / 0.7462 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.002954, allocations: 51.69 kB / 0.7463 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.003058, allocations: 52.41 kB / 0.7463 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.591e-05/0.003144, allocations: 4 kB / 0.7464 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.78e-05/0.003242, allocations: 38.36 kB / 0.7464 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.838e-05/0.003301, allocations: 10.06 kB / 0.7464 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.003317, allocations: 4 kB / 0.7464 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-05/0.003406, allocations: 23.98 kB / 0.7464 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.003426, allocations: 7.391 kB / 0.7464 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.003451, allocations: 9.531 kB / 0.7464 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.003576, allocations: 53.73 kB / 0.7465 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.726e-05/0.003593, allocations: 0.75 kB / 0.7465 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003594, allocations: 0 / 0.7465 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.003611, allocations: 2.125 kB / 0.7465 GB, free: 1.309 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.0004673/0.004078, allocations: 268.5 kB / 0.7467 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.004122, allocations: 12.02 kB / 0.7468 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.004264, allocations: 90.05 kB / 0.7468 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.721e-05/0.004361, allocations: 118.3 kB / 0.747 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.004373, allocations: 1.844 kB / 0.747 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.004384, allocations: 8.359 kB / 0.747 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.004508, allocations: 62.88 kB / 0.747 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.004517, allocations: 4.188 kB / 0.747 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.004524, allocations: 1.375 kB / 0.747 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.00453, allocations: 384 / 0.747 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.848e-05/0.004558, allocations: 8.656 kB / 0.747 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.004876, allocations: 164.3 kB / 0.7472 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.004959, allocations: 27.17 kB / 0.7472 GB, free: 472 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.004978, allocations: 17.69 kB / 0.7472 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.005, allocations: 8.125 kB / 0.7473 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.639e-05/0.005097, allocations: 56.42 kB / 0.7473 GB, free: 376 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.005099, allocations: 0 / 0.7473 GB, free: 376 kB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001295/0.005228, allocations: 58.69 kB / 0.7474 GB, free: 312 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.005267, allocations: 55.34 kB / 0.7474 GB, free: 244 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.792e-05/0.005325, allocations: 115.8 kB / 0.7475 GB, free: 116 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.005336, allocations: 25.7 kB / 0.7475 GB, free: 84 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.005382, allocations: 88.14 kB / 0.7476 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.005401, allocations: 18.33 kB / 0.7476 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.005435, allocations: 25.66 kB / 0.7477 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.00551, allocations: 314.8 kB / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.005525, allocations: 7.984 kB / 0.748 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.00555, allocations: 27.44 kB / 0.748 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.148e-05/0.005601, allocations: 57.8 kB / 0.7481 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.005604, allocations: 0 / 0.7481 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.883e-05/0.005683, allocations: 57.62 kB / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.005698, allocations: 8 kB / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.005704, allocations: 0 / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.005716, allocations: 8.453 kB / 0.7481 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.005785, allocations: 17.03 kB / 0.7482 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.00579, allocations: 0 / 0.7482 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.005817, allocations: 11.92 kB / 0.7482 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.005826, allocations: 6.906 kB / 0.7482 GB, free: 15.41 MB / 0.7292 GB 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 5.948e-05/0.005885, allocations: 116.2 kB / 0.7483 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-06/0.005892, allocations: 0 / 0.7483 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.071e-05/0.005972, allocations: 62.05 kB / 0.7483 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.005975, allocations: 3.938 kB / 0.7483 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.005977, allocations: 0 / 0.7483 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.005982, allocations: 0 / 0.7483 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.006155, allocations: 202.7 kB / 0.7485 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006157, allocations: 0 / 0.7485 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.006188, allocations: 15.97 kB / 0.7486 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.006197, allocations: 11.88 kB / 0.7486 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.006199, allocations: 0 / 0.7486 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.006204, allocations: 0 / 0.7486 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.006207, allocations: 4.375 kB / 0.7486 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006208, allocations: 0 / 0.7486 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.888e-05/0.006287, allocations: 144.7 kB / 0.7487 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.006298, allocations: 7.938 kB / 0.7487 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.006337, allocations: 4.562 kB / 0.7487 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.006365, allocations: 8.672 kB / 0.7487 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.006374, allocations: 0 / 0.7487 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.547e-05/0.00639, allocations: 17.73 kB / 0.7487 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.00639, allocations: 0 / 0.7487 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001367/0.006526, allocations: 16 kB / 0.7488 GB, free: 14.76 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: 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.0001281/0.006655, allocations: 93.55 kB / 0.7488 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.695e-05/0.006731, allocations: 29.66 kB / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.006737, allocations: 0 / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.006765, allocations: 30.12 kB / 0.7489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.006909, allocations: 8 kB / 0.7489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.007542, allocations: 142 kB / 0.749 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.988e-05/0.007582, allocations: 63.34 kB / 0.7491 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.601e-05/0.007608, allocations: 5.719 kB / 0.7491 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.007655, allocations: 59.36 kB / 0.7492 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of SimCode: time 7.91e-07/0.007655, allocations: 0 / 0.7492 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of Templates: time 0.002587/0.01024, allocations: 0.8885 MB / 0.75 GB, free: 13.45 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.964346537366509]