Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008265/0.0008265, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007281/0.007281, allocations: 168.8 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 222.5 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006288/0.0006286, allocations: 18.06 kB / 0.6743 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3153, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001164/0.3165, allocations: 489.9 kB / 0.7884 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.3182, allocations: 1.15 MB / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.3183, allocations: 0 / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.3183, allocations: 0 / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.3184, allocations: 11.92 kB / 0.7895 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.3189, allocations: 114.9 kB / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.319, allocations: 103.8 kB / 0.7897 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3191, allocations: 19.98 kB / 0.7897 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.877e-05/0.3192, allocations: 39.91 kB / 0.7898 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.838e-05/0.3193, allocations: 35.83 kB / 0.7898 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.3194, allocations: 7.938 kB / 0.7898 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-05/0.3194, allocations: 19.98 kB / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.3195, allocations: 15.92 kB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.312e-05/0.3196, allocations: 65.48 kB / 0.7899 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.3198, allocations: 99.72 kB / 0.79 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3198, allocations: 0 / 0.79 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3198, allocations: 0 / 0.79 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3198, allocations: 4 kB / 0.79 GB, free: 9.434 MB / 0.6075 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.0006734/0.3205, allocations: 397.2 kB / 0.7904 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3205, allocations: 12.03 kB / 0.7904 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.3206, allocations: 8.938 kB / 0.7904 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3207, allocations: 172.3 kB / 0.7906 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3208, allocations: 4.375 kB / 0.7906 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.3208, allocations: 12.36 kB / 0.7906 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.321, allocations: 70.23 kB / 0.7906 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3211, allocations: 192 / 0.7906 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3211, allocations: 7.875 kB / 0.7907 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3211, allocations: 0 / 0.7907 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.3213, allocations: 63.89 kB / 0.7907 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.3219, allocations: 332.6 kB / 0.791 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.3221, allocations: 70.48 kB / 0.7911 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3223, allocations: 40.95 kB / 0.7911 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.3223, allocations: 0 / 0.7911 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.3225, allocations: 91.45 kB / 0.7912 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.3225, allocations: 0 / 0.7912 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004802/0.323, allocations: 169.4 kB / 0.7914 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.3231, allocations: 55.41 kB / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.847e-05/0.3232, allocations: 117.8 kB / 0.7916 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.3232, allocations: 25.7 kB / 0.7916 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.3233, allocations: 92.12 kB / 0.7917 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.3233, allocations: 15.81 kB / 0.7917 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.3234, allocations: 25.7 kB / 0.7917 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3235, allocations: 318.8 kB / 0.792 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.3237, allocations: 55.95 kB / 0.7921 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.3239, allocations: 88.25 kB / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.3242, allocations: 162.1 kB / 0.7923 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3242, allocations: 4 kB / 0.7923 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000454/0.3247, allocations: 223.1 kB / 0.7925 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.3247, allocations: 36.64 kB / 0.7926 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.3247, allocations: 4 kB / 0.7926 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3248, allocations: 3.984 kB / 0.7926 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.968e-05/0.3249, allocations: 20.06 kB / 0.7926 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3249, allocations: 3.938 kB / 0.7926 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.3251, allocations: 55.8 kB / 0.7926 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.3252, allocations: 15.92 kB / 0.7927 GB, free: 6.438 MB / 0.6075 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 0.0001063/0.3253, allocations: 130.4 kB / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.3253, allocations: 7.906 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.3253, allocations: 8.375 kB / 0.7928 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3253, allocations: 0 / 0.7928 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3253, allocations: 0 / 0.7928 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3254, allocations: 4 kB / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.3259, allocations: 386.4 kB / 0.7932 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3259, allocations: 0 / 0.7932 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.326, allocations: 15.98 kB / 0.7932 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.326, allocations: 0 / 0.7932 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.326, allocations: 4 kB / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.326, allocations: 0 / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.326, allocations: 0 / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.3263, allocations: 227.3 kB / 0.7934 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.3264, allocations: 77.11 kB / 0.7935 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3264, allocations: 7.984 kB / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.3265, allocations: 4 kB / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.3265, allocations: 11.98 kB / 0.7935 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3265, allocations: 3.938 kB / 0.7935 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.073e-05/0.3266, allocations: 99.81 kB / 0.7936 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3266, allocations: 0 / 0.7936 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000261/0.3269, allocations: 27.91 kB / 0.7936 GB, free: 5.344 MB / 0.6075 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.0001684/0.3271, allocations: 107.6 kB / 0.7937 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.3275, allocations: 187.3 kB / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3275, allocations: 4 kB / 0.7939 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.3276, allocations: 43.91 kB / 0.794 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3279, allocations: 18.59 kB / 0.794 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.3283, allocations: 183.5 kB / 0.7941 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.3286, allocations: 0.6887 MB / 0.7948 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.3287, allocations: 7.984 kB / 0.7948 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.3287, allocations: 15.44 kB / 0.7948 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.3287, allocations: 0 / 0.7948 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of Templates: time 0.004171/0.3329, allocations: 1.329 MB / 0.7961 GB, free: 2.707 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) Environment - environmentSimulation: