Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.0009303/0.0009303, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001487/0.001487, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.023/1.023, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.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.963/1.963, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.068e-06/4.068e-06, allocations: 0 / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.614e-05/4.021e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002401/0.002441, allocations: 0.7435 MB / 0.7759 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.004322, allocations: 1.19 MB / 0.7771 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.004374, allocations: 4 kB / 0.7771 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.004405, allocations: 5.25 kB / 0.7771 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.898e-05/0.004494, allocations: 15.84 kB / 0.7771 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.004981, allocations: 132.7 kB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.005172, allocations: 114.9 kB / 0.7773 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.469e-05/0.005257, allocations: 20.67 kB / 0.7773 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.005392, allocations: 59.95 kB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.52e-05/0.005487, allocations: 44.45 kB / 0.7774 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.005514, allocations: 12 kB / 0.7775 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.005579, allocations: 17.09 kB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.005605, allocations: 15.92 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.005654, allocations: 31.97 kB / 0.7775 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.005824, allocations: 96.69 kB / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.005827, allocations: 0 / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005828, allocations: 0.9062 kB / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.005831, allocations: 3.938 kB / 0.7776 GB, free: 2.926 MB / 0.7292 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.0004626/0.006294, allocations: 307.2 kB / 0.7779 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.00633, allocations: 9.344 kB / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.006373, allocations: 10.34 kB / 0.7779 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.006477, allocations: 121.7 kB / 0.778 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.006493, allocations: 4.375 kB / 0.778 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.006516, allocations: 4.375 kB / 0.7781 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.006651, allocations: 63.47 kB / 0.7781 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.006659, allocations: 1.281 kB / 0.7781 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.006669, allocations: 4.375 kB / 0.7781 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.006675, allocations: 384 / 0.7781 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.486e-05/0.00671, allocations: 17.58 kB / 0.7781 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.007039, allocations: 180.3 kB / 0.7783 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.573e-05/0.007135, allocations: 34.5 kB / 0.7783 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.007159, allocations: 13.58 kB / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.007166, allocations: 0.9062 kB / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.007276, allocations: 79.5 kB / 0.7784 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.007278, allocations: 3.094 kB / 0.7784 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.000155/0.007433, allocations: 73.59 kB / 0.7785 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.007469, allocations: 51.41 kB / 0.7786 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.007553, allocations: 134.5 kB / 0.7787 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.007578, allocations: 33.7 kB / 0.7787 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.007623, allocations: 88.12 kB / 0.7788 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.007646, allocations: 19.89 kB / 0.7788 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.007718, allocations: 33.69 kB / 0.7788 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.007814, allocations: 326.5 kB / 0.7792 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/0.007886, allocations: 49.69 kB / 0.7792 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-05/0.007972, allocations: 85.97 kB / 0.7793 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.008084, allocations: 101.9 kB / 0.7794 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.008088, allocations: 4 kB / 0.7794 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002104/0.008299, allocations: 162.5 kB / 0.7795 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.008337, allocations: 41.69 kB / 0.7796 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.008344, allocations: 3.938 kB / 0.7796 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.008357, allocations: 4 kB / 0.7796 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.008436, allocations: 8.75 kB / 0.7796 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.00844, allocations: 3.984 kB / 0.7796 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.008563, allocations: 28.84 kB / 0.7796 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.008581, allocations: 5 kB / 0.7796 GB, free: 0.6406 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 8.499e-05/0.008666, allocations: 129.3 kB / 0.7798 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.008683, allocations: 8 kB / 0.7798 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.008709, allocations: 12.38 kB / 0.7798 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.008712, allocations: 5.344 kB / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.008714, allocations: 64 / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.00872, allocations: 7.984 kB / 0.7798 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.00895, allocations: 215.9 kB / 0.78 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008951, allocations: 0 / 0.78 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.008991, allocations: 7.984 kB / 0.78 GB, free: 244 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.008995, allocations: 5 kB / 0.78 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.009001, allocations: 4 kB / 0.78 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.009003, allocations: 0 / 0.78 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.009005, allocations: 0.5 kB / 0.78 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.009119, allocations: 155.5 kB / 0.7802 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.009133, allocations: 12.69 kB / 0.7802 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.009151, allocations: 3.938 kB / 0.7802 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.009225, allocations: 13.16 kB / 0.7802 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.009259, allocations: 7.984 kB / 0.7802 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.009267, allocations: 4 kB / 0.7802 GB, free: 24 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.941e-05/0.009286, allocations: 13.48 kB / 0.7802 GB, free: 8 kB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.009286, allocations: 0.5312 kB / 0.7802 GB, free: 8 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002725/0.009559, allocations: 27.98 kB / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.000135/0.009694, allocations: 83.7 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.009888, allocations: 159 kB / 0.7805 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.009891, allocations: 0.8125 kB / 0.7805 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/0.009933, allocations: 24.8 kB / 0.7805 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.01015, allocations: 19.67 kB / 0.7805 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.01046, allocations: 161 kB / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.424e-05/0.0105, allocations: 66.19 kB / 0.7807 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.137e-05/0.01054, allocations: 7.859 kB / 0.7807 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.958e-05/0.01063, allocations: 70.14 kB / 0.7808 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of SimCode: time 7.42e-07/0.01064, allocations: 0 / 0.7808 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of Templates: time 0.004484/0.01512, allocations: 1.683 MB / 0.7825 GB, free: 13.74 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.094236605335027]