Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001952/0.001953, allocations: 190.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 75.3 kB / 0.9115 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4197, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002098/0.4218, allocations: 0.6826 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.4235, allocations: 1.108 MB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.898e-05/0.4236, allocations: 4 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.515e-05/0.4237, allocations: 0 / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.4238, allocations: 0 / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.4243, allocations: 107.2 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.4245, allocations: 95.83 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.4246, allocations: 4 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.4247, allocations: 43.89 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.4248, allocations: 19.91 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.4249, allocations: 8 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-05/0.425, allocations: 27.98 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.425, allocations: 4 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.4251, allocations: 31.91 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.4253, allocations: 83.78 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4253, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4253, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.4253, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006154/0.4259, allocations: 373.4 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.426, allocations: 12.03 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.426, allocations: 8.938 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.4262, allocations: 164.4 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.4262, allocations: 4.375 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.4262, allocations: 8.375 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.4263, allocations: 38.19 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4263, allocations: 192 / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.4263, allocations: 3.938 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4263, allocations: 4 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.722e-05/0.4264, allocations: 8 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.4268, allocations: 292.8 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.702e-05/0.4269, allocations: 26.52 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.4269, allocations: 12.86 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-06/0.4269, allocations: 0 / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.4271, allocations: 59.33 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4271, allocations: 4 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002015/0.4273, allocations: 61.69 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.4274, allocations: 55.34 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.626e-05/0.4275, allocations: 105.8 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.4275, allocations: 29.7 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.4276, allocations: 88.05 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.4276, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.4277, allocations: 41.62 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4278, allocations: 322.8 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.452e-05/0.4279, allocations: 23.98 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.4279, allocations: 46.56 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.99e-05/0.428, allocations: 88.14 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4281, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002371/0.4283, allocations: 147.5 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.4283, allocations: 37.69 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4284, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4284, allocations: 4 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.595e-05/0.4284, allocations: 0 / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4284, allocations: 0 / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.4286, allocations: 36.2 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.4286, allocations: 7.984 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 9.667e-05/0.4288, allocations: 121.8 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.4288, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.4288, allocations: 7.5 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4288, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4288, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4288, allocations: 4 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.429, allocations: 165.6 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.429, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-06/0.429, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.429, allocations: 3.938 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.429, allocations: 8 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.429, allocations: 0 / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.429, allocations: 0 / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.4291, allocations: 84.95 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.4292, allocations: 81.11 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.4292, allocations: 0 / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.282e-05/0.4292, allocations: 0 / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.4292, allocations: 0 / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.4292, allocations: 11.94 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.4293, allocations: 87.27 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4293, allocations: 0 / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002052/0.4295, allocations: 12 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001677/0.4297, allocations: 103.2 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.4299, allocations: 127.3 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4299, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.4299, allocations: 12.19 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.4301, allocations: 16.86 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.4304, allocations: 134 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.4306, allocations: 0.6768 MB / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.001e-05/0.4307, allocations: 4 kB / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.4307, allocations: 7.438 kB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.4307, allocations: 4 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of Templates: time 0.003394/0.4341, allocations: 1.032 MB / 1.075 GB, free: 3.344 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1)