Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007648/0.0007648, 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.0008133/0.0008133, 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.8612/0.8612, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.707 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 7.922 kB / 0.5554 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.153e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001171/0.001193, allocations: 0.7278 MB / 0.5561 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.00254, allocations: 1.182 MB / 0.5573 GB, free: 384 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.002583, allocations: 7.938 kB / 0.5573 GB, free: 376 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.00261, allocations: 3.938 kB / 0.5573 GB, free: 372 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.029e-05/0.00267, allocations: 15.86 kB / 0.5573 GB, free: 356 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.00304, allocations: 142.9 kB / 0.5574 GB, free: 216 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.003177, allocations: 123.8 kB / 0.5575 GB, free: 92 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.003285, allocations: 20.16 kB / 0.5576 GB, free: 68 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.831e-05/0.003383, allocations: 67.89 kB / 0.5576 GB, free: 0 / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.003467, allocations: 35.92 kB / 0.5577 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.003487, allocations: 12 kB / 0.5577 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.635e-05/0.003543, allocations: 31.92 kB / 0.5577 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.003564, allocations: 11.98 kB / 0.5577 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.003611, allocations: 39.91 kB / 0.5578 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.003772, allocations: 143.6 kB / 0.5579 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.003775, allocations: 8 kB / 0.5579 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003776, allocations: 3.938 kB / 0.5579 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.00378, allocations: 0 / 0.5579 GB, free: 15.72 MB / 0.5261 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.0004277/0.004207, allocations: 339.8 kB / 0.5582 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.004241, allocations: 12.62 kB / 0.5582 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.584e-05/0.004316, allocations: 16.88 kB / 0.5583 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.097e-05/0.004387, allocations: 120.5 kB / 0.5584 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.0044, allocations: 4.375 kB / 0.5584 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.004416, allocations: 8.375 kB / 0.5584 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.004547, allocations: 78.16 kB / 0.5585 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004554, allocations: 192 / 0.5585 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.004562, allocations: 384 / 0.5585 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.004569, allocations: 8.125 kB / 0.5585 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.925e-05/0.004668, allocations: 51.92 kB / 0.5585 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.00501, allocations: 260.4 kB / 0.5588 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.005121, allocations: 54.55 kB / 0.5588 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.005175, allocations: 44.83 kB / 0.5589 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.005193, allocations: 0 / 0.5589 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.005323, allocations: 87.36 kB / 0.5589 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.005324, allocations: 0 / 0.5589 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0002708/0.005595, allocations: 153.6 kB / 0.5591 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.005631, allocations: 67.39 kB / 0.5592 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.915e-05/0.00569, allocations: 117.8 kB / 0.5593 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.005708, allocations: 29.7 kB / 0.5593 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.005752, allocations: 100 kB / 0.5594 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.00577, allocations: 19.84 kB / 0.5594 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.005816, allocations: 37.7 kB / 0.5594 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.005886, allocations: 318.8 kB / 0.5597 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.005987, allocations: 85.66 kB / 0.5598 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.006088, allocations: 114.8 kB / 0.5599 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.006241, allocations: 154.7 kB / 0.5601 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.006244, allocations: 4 kB / 0.5601 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002559/0.0065, allocations: 248.9 kB / 0.5603 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.006525, allocations: 39.42 kB / 0.5604 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.006529, allocations: 0 / 0.5604 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.006541, allocations: 4 kB / 0.5604 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.732e-05/0.006599, allocations: 11.98 kB / 0.5604 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.006603, allocations: 4 kB / 0.5604 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-05/0.0067, allocations: 35.91 kB / 0.5604 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.006714, allocations: 12 kB / 0.5604 GB, free: 12.88 MB / 0.5261 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 6.4e-05/0.006778, allocations: 131.5 kB / 0.5606 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.006786, allocations: 7.891 kB / 0.5606 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.006954, allocations: 122.1 kB / 0.5607 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.006957, allocations: 4 kB / 0.5607 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.006961, allocations: 0 / 0.5607 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006965, allocations: 3.984 kB / 0.5607 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.007194, allocations: 326.4 kB / 0.561 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007196, allocations: 0 / 0.561 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.007222, allocations: 7.984 kB / 0.561 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.007224, allocations: 4 kB / 0.561 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.007231, allocations: 4 kB / 0.561 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007233, allocations: 8.016 kB / 0.561 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.007236, allocations: 3.984 kB / 0.561 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.007389, allocations: 223.3 kB / 0.5612 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-06/0.007395, allocations: 8 kB / 0.5612 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.007405, allocations: 0 / 0.5612 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.011e-05/0.007445, allocations: 7.984 kB / 0.5613 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.007476, allocations: 4 kB / 0.5613 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.007483, allocations: 11.92 kB / 0.5613 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.031e-05/0.007514, allocations: 87.28 kB / 0.5614 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007514, allocations: 0 / 0.5614 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000166/0.00768, allocations: 31.94 kB / 0.5614 GB, free: 11.84 MB / 0.5261 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 9.771e-05/0.007777, allocations: 99.25 kB / 0.5615 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.008006, allocations: 193 kB / 0.5617 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008008, allocations: 0 / 0.5617 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.588e-05/0.008074, allocations: 39.91 kB / 0.5617 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.008253, allocations: 19.92 kB / 0.5617 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.008525, allocations: 205.6 kB / 0.5619 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/0.008567, allocations: 71.33 kB / 0.562 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.008589, allocations: 12.5 kB / 0.562 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of SimCode: time 3.51e-07/0.008589, allocations: 0 / 0.562 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of Templates: time 0.001919/0.01051, allocations: 1.324 MB / 0.5633 GB, free: 9.828 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.654810609295964] Failed to read output from testmodel.py, exit status != 0: 0.015425393357872963 0.025018514000000002 0.019686701 Calling exit ...