Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.712/1.712, allocations: 291.7 MB / 306.8 MB, free: 7.676 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 177.4 kB / 375.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 225.7 MB / 0.6538 GB, free: 13.62 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008668/0.0008667, allocations: 99.45 kB / 0.7699 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004038, allocations: 16 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7847, allocations: 118.1 MB / 1.011 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0009778/0.7857, allocations: 427.5 kB / 1.011 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.7875, allocations: 1.244 MB / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.7876, allocations: 2.281 kB / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.7876, allocations: 0 / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.682e-05/0.7877, allocations: 18.91 kB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.7885, allocations: 284.8 kB / 1.013 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.7887, allocations: 200.3 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.7888, allocations: 18.98 kB / 1.013 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.789, allocations: 85.53 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.7891, allocations: 72.06 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.7891, allocations: 11.44 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.962e-05/0.7892, allocations: 32.36 kB / 1.013 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.7893, allocations: 11.14 kB / 1.013 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.7893, allocations: 50.98 kB / 1.013 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.7895, allocations: 144 kB / 1.013 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7895, allocations: 1.312 kB / 1.013 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7895, allocations: 0 / 1.013 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.7896, allocations: 0 / 1.013 GB, free: 57.71 MB / 0.7136 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.0004745/0.79, allocations: 460.7 kB / 1.014 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.7901, allocations: 10.22 kB / 1.014 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.7902, allocations: 14.59 kB / 1.014 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.7903, allocations: 173 kB / 1.014 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.7903, allocations: 20.66 kB / 1.014 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.7904, allocations: 14.03 kB / 1.014 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.7905, allocations: 57.02 kB / 1.014 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.7905, allocations: 7.875 kB / 1.014 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.7905, allocations: 3.938 kB / 1.014 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.7906, allocations: 4.562 kB / 1.014 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.144e-05/0.7906, allocations: 21.7 kB / 1.014 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.7911, allocations: 413.4 kB / 1.015 GB, free: 56.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.733e-05/0.7912, allocations: 38.52 kB / 1.015 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.7913, allocations: 20.19 kB / 1.015 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.7913, allocations: 0 / 1.015 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.7915, allocations: 102.4 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.7915, allocations: 0.625 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003359/0.7918, allocations: 141.3 kB / 1.015 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.7919, allocations: 56.38 kB / 1.015 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.792, allocations: 129.6 kB / 1.015 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.7921, allocations: 35.66 kB / 1.015 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.7922, allocations: 98.77 kB / 1.015 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.7922, allocations: 20.12 kB / 1.015 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.7922, allocations: 13.12 kB / 1.015 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.7923, allocations: 322.4 kB / 1.016 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.7925, allocations: 85.69 kB / 1.016 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.7927, allocations: 131.1 kB / 1.016 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.793, allocations: 239 kB / 1.016 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.793, allocations: 1.094 kB / 1.016 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005317/0.7936, allocations: 369 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.581e-05/0.7936, allocations: 103.7 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.7937, allocations: 3.031 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.7937, allocations: 2.656 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.955e-05/0.7937, allocations: 7.031 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.7937, allocations: 1.812 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/0.7943, allocations: 123.6 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.7944, allocations: 16.52 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.7945, allocations: 133.6 kB / 1.017 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.7945, allocations: 12.2 kB / 1.017 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.7946, allocations: 11.94 kB / 1.017 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.7946, allocations: 2.125 kB / 1.017 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7946, allocations: 1.812 kB / 1.017 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.7946, allocations: 1.188 kB / 1.017 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.7947, allocations: 196.3 kB / 1.017 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7947, allocations: 3.281 kB / 1.017 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.7948, allocations: 3.625 kB / 1.017 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.7948, allocations: 4.953 kB / 1.017 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.7948, allocations: 2.875 kB / 1.017 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7948, allocations: 1.875 kB / 1.017 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7948, allocations: 0 / 1.017 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.795, allocations: 140.3 kB / 1.017 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.795, allocations: 83.92 kB / 1.017 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.795, allocations: 10.16 kB / 1.017 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.331e-05/0.7951, allocations: 3.188 kB / 1.017 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.7951, allocations: 7.844 kB / 1.017 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.7951, allocations: 5.031 kB / 1.017 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.744e-05/0.7952, allocations: 96.11 kB / 1.017 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7952, allocations: 1.875 kB / 1.017 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002515/0.7955, allocations: 47.94 kB / 1.017 GB, free: 54.96 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001964/0.7957, allocations: 114.2 kB / 1.017 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004257/0.7961, allocations: 367.6 kB / 1.018 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7961, allocations: 0 / 1.018 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.883e-05/0.7962, allocations: 38.03 kB / 1.018 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.7964, allocations: 28.22 kB / 1.018 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.7969, allocations: 206.3 kB / 1.018 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.7971, allocations: 0.6906 MB / 1.019 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.7971, allocations: 11.12 kB / 1.019 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.7971, allocations: 15.97 kB / 1.019 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7971, allocations: 3.938 kB / 1.019 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.004922/0.8021, allocations: 2.423 MB / 1.021 GB, free: 53.68 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)