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.001038/0.001038, allocations: 102.4 kB / 16.35 MB, free: 6.348 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.001054/0.001055, allocations: 194.7 kB / 17.29 MB, free: 5.93 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.445/1.445, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.844/1.844, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001466/0.001466, allocations: 71.89 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2382, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002012/0.2403, allocations: 0.7567 MB / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.2416, allocations: 1.137 MB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.2417, allocations: 4 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.2417, allocations: 7.938 kB / 0.7867 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.2418, allocations: 15.84 kB / 0.7867 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.2423, allocations: 132.3 kB / 0.7868 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.2425, allocations: 119.8 kB / 0.7869 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.2426, allocations: 11.98 kB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.2427, allocations: 51.91 kB / 0.787 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.731e-05/0.2428, allocations: 47.8 kB / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.2428, allocations: 12 kB / 0.787 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.2429, allocations: 27.98 kB / 0.7871 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.2429, allocations: 11.98 kB / 0.7871 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.243, allocations: 39.86 kB / 0.7871 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.2432, allocations: 115.6 kB / 0.7872 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2432, allocations: 3.938 kB / 0.7872 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2432, allocations: 0 / 0.7872 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2432, allocations: 4 kB / 0.7872 GB, free: 0.7109 MB / 0.6544 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.0005498/0.2438, allocations: 412.9 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2438, allocations: 8.031 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.2439, allocations: 8.844 kB / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.244, allocations: 176.3 kB / 0.7878 GB, free: 24 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.244, allocations: 12.36 kB / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.2441, allocations: 8.375 kB / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4085/0.6526, allocations: 57.39 kB / 0.7879 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.6526, allocations: 3 kB / 0.7879 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.6526, allocations: 1.719 kB / 0.7879 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.6527, allocations: 1.812 kB / 0.7879 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.6529, allocations: 42.3 kB / 0.7879 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.6534, allocations: 341.2 kB / 0.7882 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.6536, allocations: 59.5 kB / 0.7883 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.6537, allocations: 35.41 kB / 0.7883 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.6537, allocations: 2.062 kB / 0.7883 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.654, allocations: 86.11 kB / 0.7884 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 2.164e-06/0.654, allocations: 2.656 kB / 0.7884 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004136/0.6544, allocations: 141.4 kB / 0.7886 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.6545, allocations: 53.34 kB / 0.7886 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.6546, allocations: 118.2 kB / 0.7887 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.6546, allocations: 31.33 kB / 0.7887 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.6546, allocations: 96.75 kB / 0.7888 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.6547, allocations: 18.06 kB / 0.7889 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.6547, allocations: 40.12 kB / 0.7889 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.6548, allocations: 325.9 kB / 0.7892 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.6549, allocations: 51.8 kB / 0.7893 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.6551, allocations: 85.11 kB / 0.7893 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.6554, allocations: 144.3 kB / 0.7895 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6554, allocations: 0 / 0.7895 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003957/0.6558, allocations: 212.2 kB / 0.7897 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.6558, allocations: 44.02 kB / 0.7897 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.6558, allocations: 0 / 0.7897 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.6558, allocations: 2.656 kB / 0.7897 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.6559, allocations: 10.97 kB / 0.7897 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.656, allocations: 2.656 kB / 0.7897 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.6562, allocations: 39.3 kB / 0.7898 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.6562, allocations: 10.12 kB / 0.7898 GB, free: 47.88 MB / 0.6544 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 7.649e-05/0.6563, allocations: 130.2 kB / 0.7899 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.6563, allocations: 10.66 kB / 0.7899 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.6563, allocations: 7.438 kB / 0.7899 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6563, allocations: 2.656 kB / 0.7899 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6563, allocations: 3.75 kB / 0.7899 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6563, allocations: 3.938 kB / 0.7899 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.6567, allocations: 369 kB / 0.7903 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.6567, allocations: 0.625 kB / 0.7903 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.266e-05/0.6568, allocations: 11.72 kB / 0.7903 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6568, allocations: 0 / 0.7903 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.6568, allocations: 7.062 kB / 0.7903 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6568, allocations: 1 kB / 0.7903 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6568, allocations: 5.031 kB / 0.7903 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.6571, allocations: 212.3 kB / 0.7905 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.6571, allocations: 87.58 kB / 0.7906 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.6571, allocations: 8.969 kB / 0.7906 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.457e-05/0.6572, allocations: 7.016 kB / 0.7906 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.6573, allocations: 10.61 kB / 0.7906 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-06/0.6573, allocations: 3.719 kB / 0.7906 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.6573, allocations: 93.05 kB / 0.7907 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6573, allocations: 0 / 0.7907 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002597/0.6576, allocations: 21.56 kB / 0.7907 GB, free: 47.15 MB / 0.6544 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.0001414/0.6578, allocations: 110.1 kB / 0.7908 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.6582, allocations: 179.9 kB / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6582, allocations: 0 / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.6583, allocations: 39.53 kB / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.6586, allocations: 19.27 kB / 0.7911 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.6589, allocations: 156 kB / 0.7912 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.6591, allocations: 0.686 MB / 0.7919 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.6591, allocations: 8.281 kB / 0.7919 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.6591, allocations: 13.88 kB / 0.7919 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.6591, allocations: 0 / 0.7919 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.004155/0.6633, allocations: 1.439 MB / 0.7933 GB, free: 46.13 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)