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.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.796/1.796, allocations: 291.7 MB / 306.8 MB, free: 7.695 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.001171/0.001171, allocations: 193.5 kB / 375.4 MB, free: 5.121 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.508/1.508, allocations: 225.7 MB / 0.6538 GB, free: 13.63 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.001061/0.001061, allocations: 105.4 kB / 0.7699 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006416/0.0006419, allocations: 12 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9148/0.9155, allocations: 118.1 MB / 1.011 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001312/0.9169, allocations: 482.6 kB / 1.011 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.9188, allocations: 1.114 MB / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.9189, allocations: 0 / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.9189, allocations: 3.938 kB / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.919, allocations: 10.78 kB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.9196, allocations: 118.9 kB / 1.013 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.9198, allocations: 103.4 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.9199, allocations: 19.06 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.9201, allocations: 43.83 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.9202, allocations: 46.11 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.9202, allocations: 5.781 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.479e-05/0.9203, allocations: 18.12 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.9203, allocations: 8.891 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.9204, allocations: 41.61 kB / 1.013 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.9206, allocations: 81.58 kB / 1.013 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9206, allocations: 3.406 kB / 1.013 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9206, allocations: 0 / 1.013 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.9206, allocations: 0 / 1.013 GB, free: 57.47 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.0006948/0.9213, allocations: 416.3 kB / 1.013 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.9214, allocations: 16.69 kB / 1.013 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.9215, allocations: 6.344 kB / 1.013 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.9216, allocations: 175.8 kB / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.9216, allocations: 3.781 kB / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.9217, allocations: 6.906 kB / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.922, allocations: 98.91 kB / 1.014 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.922, allocations: 192 / 1.014 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.922, allocations: 4.688 kB / 1.014 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.922, allocations: 0 / 1.014 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/0.9225, allocations: 90.83 kB / 1.014 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/0.923, allocations: 330.2 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.9232, allocations: 70.77 kB / 1.014 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.9235, allocations: 59.42 kB / 1.014 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.9235, allocations: 1.375 kB / 1.014 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004013/0.9239, allocations: 108 kB / 1.014 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.744e-06/0.9239, allocations: 1.031 kB / 1.014 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0008139/0.9247, allocations: 196.1 kB / 1.014 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.9248, allocations: 61.62 kB / 1.015 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.9249, allocations: 126.3 kB / 1.015 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.9249, allocations: 25.7 kB / 1.015 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.925, allocations: 98.23 kB / 1.015 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.925, allocations: 15.97 kB / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.9251, allocations: 0 / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.9252, allocations: 324.7 kB / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.9255, allocations: 72.77 kB / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.9258, allocations: 92.42 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.9263, allocations: 168.3 kB / 1.015 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9263, allocations: 0 / 1.015 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007447/0.927, allocations: 233.6 kB / 1.016 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/0.9271, allocations: 33.64 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.9271, allocations: 6.047 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.9271, allocations: 1.281 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.9273, allocations: 20.97 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.9274, allocations: 1.031 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.9277, allocations: 62.06 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.9278, allocations: 9.703 kB / 1.016 GB, free: 55.64 MB / 0.7136 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,$PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.9279, allocations: 131.7 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.928, allocations: 2.188 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.928, allocations: 11.81 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.928, allocations: 0 / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.928, allocations: 0 / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.928, allocations: 8.547 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.9282, allocations: 184.4 kB / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9282, allocations: 0 / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.9284, allocations: 26.22 kB / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9284, allocations: 0 / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.9284, allocations: 2.719 kB / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.9284, allocations: 5.547 kB / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9284, allocations: 0 / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.929, allocations: 167.4 kB / 1.016 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.9291, allocations: 84.16 kB / 1.016 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.9291, allocations: 3.375 kB / 1.016 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.9292, allocations: 24.27 kB / 1.016 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.9293, allocations: 10.02 kB / 1.016 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.9293, allocations: 2.562 kB / 1.016 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.403e-05/0.9294, allocations: 90.77 kB / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9294, allocations: 0 / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003805/0.9298, allocations: 23.31 kB / 1.016 GB, free: 55.06 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: 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 (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.0002158/0.93, allocations: 119.3 kB / 1.017 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007083/0.9308, allocations: 211.5 kB / 1.017 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9308, allocations: 0 / 1.017 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.9311, allocations: 56.17 kB / 1.017 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.9314, allocations: 22.62 kB / 1.017 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.9319, allocations: 181.4 kB / 1.017 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.9321, allocations: 0.6898 MB / 1.018 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.926e-05/0.9322, allocations: 7.25 kB / 1.018 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.9322, allocations: 7.438 kB / 1.018 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.9322, allocations: 1.219 kB / 1.018 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.005775/0.938, allocations: 1.353 MB / 1.019 GB, free: 53.97 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)