Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.002004/0.002004, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002003/0.002003, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.61/1.61, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] 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 3.267/3.267, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.497e-06/3.497e-06, allocations: 0 / 1.001 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.583e-05/3.932e-05, allocations: 2.281 kB / 1.001 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002115/0.002155, allocations: 0.7354 MB / 1.002 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.004056, allocations: 1.194 MB / 1.003 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.004119, allocations: 0 / 1.003 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.004156, allocations: 3.938 kB / 1.003 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 8.665e-05/0.004243, allocations: 19.86 kB / 1.003 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.004785, allocations: 134.7 kB / 1.003 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.005002, allocations: 135.7 kB / 1.003 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.005112, allocations: 20.11 kB / 1.003 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.005258, allocations: 79.86 kB / 1.003 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.824e-05/0.005356, allocations: 35.89 kB / 1.003 GB, free: 9.582 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.005391, allocations: 8 kB / 1.003 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.32e-05/0.005474, allocations: 27.97 kB / 1.003 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 3.504e-05/0.005509, allocations: 15.98 kB / 1.003 GB, free: 9.531 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.659e-05/0.005596, allocations: 39.89 kB / 1.003 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.005857, allocations: 147.5 kB / 1.004 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.00586, allocations: 0 / 1.004 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005861, allocations: 0 / 1.004 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.005866, allocations: 0 / 1.004 GB, free: 9.348 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006806/0.006547, allocations: 347.8 kB / 1.004 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.006587, allocations: 9.344 kB / 1.004 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.006689, allocations: 12.89 kB / 1.004 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.006817, allocations: 121.6 kB / 1.004 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.006842, allocations: 8.359 kB / 1.004 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.006869, allocations: 12.38 kB / 1.004 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.007096, allocations: 70.16 kB / 1.004 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.007106, allocations: 4.125 kB / 1.004 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.007117, allocations: 384 / 1.004 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.007124, allocations: 12.12 kB / 1.004 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.007327, allocations: 43.95 kB / 1.004 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.007892, allocations: 268.4 kB / 1.004 GB, free: 8.363 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.008097, allocations: 50.55 kB / 1.005 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.008202, allocations: 32.91 kB / 1.005 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.008226, allocations: 7.984 kB / 1.005 GB, free: 8.262 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.008463, allocations: 83.38 kB / 1.005 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.008464, allocations: 4 kB / 1.005 GB, free: 8.164 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0005089/0.008973, allocations: 153.6 kB / 1.005 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.009038, allocations: 55.41 kB / 1.005 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.009537, allocations: 117.8 kB / 1.005 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.009569, allocations: 29.7 kB / 1.005 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.009652, allocations: 96.09 kB / 1.005 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.009682, allocations: 19.84 kB / 1.005 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.009767, allocations: 41.69 kB / 1.005 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.009944, allocations: 318.8 kB / 1.005 GB, free: 7.297 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.01014, allocations: 85.59 kB / 1.006 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.01037, allocations: 114.8 kB / 1.006 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.0107, allocations: 162.7 kB / 1.006 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.0107, allocations: 0 / 1.006 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005208/0.01122, allocations: 240.8 kB / 1.006 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-05/0.01128, allocations: 44.66 kB / 1.006 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.01128, allocations: 8 kB / 1.006 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.01131, allocations: 0 / 1.006 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.01142, allocations: 15.98 kB / 1.006 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.01143, allocations: 0 / 1.006 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.01164, allocations: 39.86 kB / 1.006 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.01167, allocations: 19.92 kB / 1.006 GB, free: 6.504 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 0.0001291/0.0118, allocations: 118.7 kB / 1.006 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.01182, allocations: 15.89 kB / 1.006 GB, free: 6.363 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003414/0.01216, allocations: 130 kB / 1.006 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01216, allocations: 0 / 1.006 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01217, allocations: 0 / 1.006 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.01217, allocations: 4.031 kB / 1.006 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.01267, allocations: 326 kB / 1.007 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01267, allocations: 0 / 1.007 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.01273, allocations: 15.98 kB / 1.007 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01274, allocations: 0 / 1.007 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.01275, allocations: 4 kB / 1.007 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01275, allocations: 0 / 1.007 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01275, allocations: 0 / 1.007 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.0131, allocations: 219.3 kB / 1.007 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.01311, allocations: 4 kB / 1.007 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.01313, allocations: 0 / 1.007 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.01323, allocations: 7.984 kB / 1.007 GB, free: 5.605 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.01328, allocations: 15.98 kB / 1.007 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.01329, allocations: 4 kB / 1.007 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.773e-05/0.01335, allocations: 91.27 kB / 1.007 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01335, allocations: 0 / 1.007 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002701/0.01362, allocations: 23.95 kB / 1.007 GB, free: 5.473 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002021/0.01383, allocations: 107.2 kB / 1.007 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.01429, allocations: 189.6 kB / 1.007 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01429, allocations: 0 / 1.007 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.01442, allocations: 47.89 kB / 1.007 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.01471, allocations: 21.92 kB / 1.007 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.01517, allocations: 169.2 kB / 1.008 GB, free: 4.898 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.994e-05/0.01526, allocations: 79.58 kB / 1.008 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.01529, allocations: 7.938 kB / 1.008 GB, free: 4.793 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.01532, allocations: 12.5 kB / 1.008 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of SimCode: time 3.91e-07/0.01533, allocations: 0 / 1.008 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of Templates: time 0.005273/0.0206, allocations: 1.545 MB / 1.009 GB, free: 3.273 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.895147600211203]