Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 106 kB / 16.36 MB, free: 6.309 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.001612/0.001612, allocations: 192.3 kB / 17.29 MB, free: 5.871 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.404/1.404, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.736/1.736, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001367/0.001367, allocations: 67.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2137, allocations: 114.6 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002005/0.2157, allocations: 0.7642 MB / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.217, allocations: 1.137 MB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.2171, allocations: 0 / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.2172, allocations: 3.938 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.2172, allocations: 19.84 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.2177, allocations: 130.8 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.2179, allocations: 139.7 kB / 0.7869 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.218, allocations: 12 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.938e-05/0.2181, allocations: 51.89 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.71e-05/0.2182, allocations: 51.88 kB / 0.7871 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.2182, allocations: 12 kB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.2183, allocations: 23.98 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.2184, allocations: 19.91 kB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.918e-05/0.2184, allocations: 43.84 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.2186, allocations: 115.7 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2186, allocations: 0 / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2186, allocations: 4 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2186, allocations: 3.938 kB / 0.7873 GB, free: 0.582 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.0006454/0.2193, allocations: 424.9 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2193, allocations: 12.03 kB / 0.7877 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.2194, allocations: 8.844 kB / 0.7877 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2985/0.5179, allocations: 169.4 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.518, allocations: 4.094 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.518, allocations: 7.312 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.5183, allocations: 81.5 kB / 0.7879 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5183, allocations: 1.688 kB / 0.7879 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5183, allocations: 3.844 kB / 0.7879 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5183, allocations: 0 / 0.7879 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.5186, allocations: 78.78 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.519, allocations: 327.8 kB / 0.7883 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.5192, allocations: 52.27 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.5194, allocations: 51.02 kB / 0.7884 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.5194, allocations: 6.906 kB / 0.7884 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/0.5197, allocations: 93.34 kB / 0.7885 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.5197, allocations: 2.625 kB / 0.7885 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0005746/0.5203, allocations: 162 kB / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.5203, allocations: 54.28 kB / 0.7887 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.971e-05/0.5204, allocations: 125.3 kB / 0.7889 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.5204, allocations: 28.55 kB / 0.7889 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.5205, allocations: 90.98 kB / 0.789 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.5205, allocations: 20.84 kB / 0.789 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.5206, allocations: 32.55 kB / 0.789 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.5206, allocations: 321.7 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.5208, allocations: 61.03 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.521, allocations: 85.61 kB / 0.7895 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.5214, allocations: 146.7 kB / 0.7896 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5214, allocations: 0 / 0.7896 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000475/0.5219, allocations: 212.3 kB / 0.7898 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.5219, allocations: 39.14 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5219, allocations: 2.625 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.5219, allocations: 3.422 kB / 0.7899 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.5221, allocations: 14.95 kB / 0.7899 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5221, allocations: 2.625 kB / 0.7899 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.5223, allocations: 46.2 kB / 0.7899 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.5224, allocations: 4.812 kB / 0.7899 GB, free: 47.63 MB / 0.6544 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 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 6.539e-05/0.5224, allocations: 117.1 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.5224, allocations: 13.78 kB / 0.79 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.5225, allocations: 11.66 kB / 0.7901 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5225, allocations: 2.188 kB / 0.7901 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5225, allocations: 4.531 kB / 0.7901 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5225, allocations: 1.172 kB / 0.7901 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.702e-05/0.5226, allocations: 182.6 kB / 0.7902 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5226, allocations: 1.281 kB / 0.7902 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.43e-05/0.5227, allocations: 19.64 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5227, allocations: 0.875 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.5227, allocations: 0 / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5227, allocations: 3.969 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5227, allocations: 0.7812 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.5231, allocations: 163.8 kB / 0.7904 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.5231, allocations: 78.33 kB / 0.7905 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.5232, allocations: 0.9688 kB / 0.7905 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.5232, allocations: 15.48 kB / 0.7905 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.5233, allocations: 9.547 kB / 0.7905 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.5233, allocations: 2.375 kB / 0.7905 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.5233, allocations: 96.03 kB / 0.7906 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5233, allocations: 0.8438 kB / 0.7906 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002152/0.5236, allocations: 25.88 kB / 0.7906 GB, free: 47.08 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: 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 (6): * Single equations (assignments): 5 * 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.0001434/0.5237, allocations: 116.7 kB / 0.7907 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.5242, allocations: 185.1 kB / 0.7909 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5242, allocations: 2.625 kB / 0.7909 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.5244, allocations: 53.58 kB / 0.791 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.5246, allocations: 17.33 kB / 0.791 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.5249, allocations: 183.3 kB / 0.7912 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.586e-05/0.525, allocations: 0.6909 MB / 0.7918 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.5251, allocations: 12.69 kB / 0.7919 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.5251, allocations: 0 / 0.7919 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.002645/0.5277, allocations: 1.306 MB / 0.7931 GB, free: 46.03 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)