Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009378/0.0009378, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001255/0.001256, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.762/1.762, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.811/1.811, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005922/0.0005922, allocations: 22.22 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3152, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001431/0.3167, allocations: 497.9 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3188, allocations: 1.146 MB / 0.7895 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.3189, allocations: 4 kB / 0.7895 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.3189, allocations: 3.938 kB / 0.7895 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.211e-05/0.319, allocations: 7.938 kB / 0.7895 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.3196, allocations: 126 kB / 0.7896 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.3198, allocations: 107.8 kB / 0.7897 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3199, allocations: 11.98 kB / 0.7897 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.32, allocations: 39.91 kB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3201, allocations: 35.84 kB / 0.7898 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.3202, allocations: 11.98 kB / 0.7898 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.3203, allocations: 19.98 kB / 0.7898 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.3203, allocations: 11.92 kB / 0.7898 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.3204, allocations: 65.55 kB / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.3206, allocations: 91.73 kB / 0.79 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3206, allocations: 0 / 0.79 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3206, allocations: 0 / 0.79 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3206, allocations: 0 / 0.79 GB, free: 9.367 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.0007412/0.3214, allocations: 413.2 kB / 0.7904 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3214, allocations: 8.031 kB / 0.7904 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.44e-05/0.3215, allocations: 8.938 kB / 0.7904 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.3217, allocations: 176.2 kB / 0.7906 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.3217, allocations: 8.375 kB / 0.7906 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.3218, allocations: 8.375 kB / 0.7906 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.322, allocations: 74.22 kB / 0.7907 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.322, allocations: 4.125 kB / 0.7907 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.322, allocations: 3.938 kB / 0.7907 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.322, allocations: 0 / 0.7907 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.3222, allocations: 47.95 kB / 0.7907 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006084/0.3229, allocations: 336.6 kB / 0.791 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.3231, allocations: 66.55 kB / 0.7911 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.3232, allocations: 44.95 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.3232, allocations: 0 / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.3235, allocations: 103.4 kB / 0.7912 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.843e-06/0.3235, allocations: 4 kB / 0.7912 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004711/0.324, allocations: 149.5 kB / 0.7914 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.3241, allocations: 59.41 kB / 0.7914 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.3242, allocations: 117.8 kB / 0.7916 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.3242, allocations: 33.7 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.3243, allocations: 88.14 kB / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3243, allocations: 19.78 kB / 0.7917 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.3244, allocations: 21.72 kB / 0.7917 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3245, allocations: 318.8 kB / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.3247, allocations: 63.91 kB / 0.7921 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.3248, allocations: 92.25 kB / 0.7922 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.3251, allocations: 153.8 kB / 0.7923 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3251, allocations: 0 / 0.7923 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004469/0.3256, allocations: 219.1 kB / 0.7925 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/0.3257, allocations: 41.69 kB / 0.7926 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3257, allocations: 0 / 0.7926 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3257, allocations: 4 kB / 0.7926 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/0.3258, allocations: 16.11 kB / 0.7926 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3258, allocations: 4.312 kB / 0.7926 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.3261, allocations: 55.8 kB / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.3261, allocations: 7.938 kB / 0.7926 GB, free: 6.371 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,edge1.y,edge1.u,$PRE.edge1.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.0001108/0.3262, allocations: 129.7 kB / 0.7928 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.3263, allocations: 4 kB / 0.7928 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.3263, allocations: 16.34 kB / 0.7928 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3263, allocations: 4 kB / 0.7928 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3263, allocations: 0 / 0.7928 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3263, allocations: 3.938 kB / 0.7928 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.3268, allocations: 394.4 kB / 0.7932 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3268, allocations: 0 / 0.7932 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.3269, allocations: 11.94 kB / 0.7932 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.3269, allocations: 3.984 kB / 0.7932 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3269, allocations: 4 kB / 0.7932 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3269, allocations: 4 kB / 0.7932 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3269, allocations: 0 / 0.7932 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.3272, allocations: 215.3 kB / 0.7934 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.3273, allocations: 85.11 kB / 0.7935 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3273, allocations: 0 / 0.7935 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.3274, allocations: 15.98 kB / 0.7935 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.3275, allocations: 3.984 kB / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3275, allocations: 7.938 kB / 0.7935 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.353e-05/0.3275, allocations: 91.27 kB / 0.7936 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.345e-06/0.3275, allocations: 0 / 0.7936 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002556/0.3278, allocations: 27.94 kB / 0.7936 GB, free: 5.27 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001807/0.328, allocations: 103.2 kB / 0.7937 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.3284, allocations: 191.2 kB / 0.7939 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3284, allocations: 256 / 0.7939 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.3286, allocations: 47.97 kB / 0.794 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.3289, allocations: 15.98 kB / 0.794 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.3293, allocations: 187.1 kB / 0.7941 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.3295, allocations: 0.6887 MB / 0.7948 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.3296, allocations: 4 kB / 0.7948 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.3296, allocations: 11.44 kB / 0.7948 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.3296, allocations: 4 kB / 0.7948 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of Templates: time 0.004261/0.3339, allocations: 1.318 MB / 0.7961 GB, free: 2.648 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) Environment - environmentSimulation: