Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.902/1.902, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.001978/0.001978, allocations: 190 kB / 382.3 MB, free: 14.82 MB / 314.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.663/1.663, allocations: 225.7 MB / 0.6617 GB, free: 7.203 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.0008651/0.0008653, allocations: 100.6 kB / 0.7789 GB, free: 46.87 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004153, allocations: 12 kB / 0.9059 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8189, allocations: 119.2 MB / 1.022 GB, free: 58.02 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00111/0.8201, allocations: 487.5 kB / 1.023 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.8217, allocations: 1.285 MB / 1.024 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.8218, allocations: 1.219 kB / 1.024 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.8218, allocations: 4.625 kB / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.438e-05/0.8219, allocations: 9.781 kB / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.8223, allocations: 126.1 kB / 1.024 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.8225, allocations: 114.4 kB / 1.024 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.8226, allocations: 15.3 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.8227, allocations: 47.48 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.8228, allocations: 40.08 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.8228, allocations: 6.094 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.8229, allocations: 18.91 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.8229, allocations: 11.09 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.416e-05/0.823, allocations: 63.78 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.8232, allocations: 112.4 kB / 1.025 GB, free: 56.85 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8232, allocations: 0.625 kB / 1.025 GB, free: 56.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.434e-06/0.8232, allocations: 0.6875 kB / 1.025 GB, free: 56.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.8232, allocations: 3.938 kB / 1.025 GB, free: 56.85 MB / 0.698 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.0005864/0.8238, allocations: 418.6 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.8238, allocations: 8.672 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.8239, allocations: 12.56 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.768e-05/0.824, allocations: 174.9 kB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.824, allocations: 4.906 kB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.8241, allocations: 6.344 kB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.8243, allocations: 94.38 kB / 1.025 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.609e-06/0.8243, allocations: 4.438 kB / 1.025 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.8244, allocations: 8.859 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.8244, allocations: 1.156 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.8247, allocations: 88.34 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.8251, allocations: 334.2 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.8254, allocations: 69.91 kB / 1.026 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.8255, allocations: 51.34 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.8255, allocations: 1.062 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/0.8259, allocations: 107.8 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 2.344e-06/0.8259, allocations: 4.797 kB / 1.026 GB, free: 55.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0006004/0.8265, allocations: 196.8 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.8265, allocations: 53.98 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.162e-05/0.8266, allocations: 124.4 kB / 1.026 GB, free: 55.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.8266, allocations: 31.3 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.8267, allocations: 97.94 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.8267, allocations: 16.17 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.8267, allocations: 1.562 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.8268, allocations: 322.8 kB / 1.027 GB, free: 55.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.8271, allocations: 67.59 kB / 1.027 GB, free: 55.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.8273, allocations: 97.2 kB / 1.027 GB, free: 55.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.8277, allocations: 170.9 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8277, allocations: 0 / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004964/0.8282, allocations: 232.5 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.8282, allocations: 43.5 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8282, allocations: 0 / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.8283, allocations: 0 / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.8284, allocations: 24.06 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.8284, allocations: 0.6562 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.8287, allocations: 59.31 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.8287, allocations: 7.531 kB / 1.027 GB, free: 54.78 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.249e-05/0.8288, allocations: 135.4 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.8288, allocations: 10.44 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.8289, allocations: 9.75 kB / 1.028 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.8289, allocations: 2.047 kB / 1.028 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8289, allocations: 1.406 kB / 1.028 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8289, allocations: 0 / 1.028 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.829, allocations: 186.9 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.829, allocations: 3.938 kB / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.8291, allocations: 26 kB / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.8292, allocations: 1.031 kB / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.8292, allocations: 1.156 kB / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.8292, allocations: 0 / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8292, allocations: 1.125 kB / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.8296, allocations: 175.7 kB / 1.028 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.8296, allocations: 85.91 kB / 1.028 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.8296, allocations: 1.031 kB / 1.028 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.8297, allocations: 22.66 kB / 1.028 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.8298, allocations: 7.969 kB / 1.028 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.8298, allocations: 3.844 kB / 1.028 GB, free: 54.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.8299, allocations: 95.48 kB / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.8299, allocations: 0 / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002042/0.8301, allocations: 20.62 kB / 1.028 GB, free: 54.14 MB / 0.698 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.0001746/0.8303, allocations: 116 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004801/0.8308, allocations: 210.6 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8308, allocations: 0 / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.831, allocations: 54.52 kB / 1.028 GB, free: 53.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.8312, allocations: 18.75 kB / 1.028 GB, free: 53.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.8315, allocations: 185.2 kB / 1.029 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.8317, allocations: 0.6865 MB / 1.029 GB, free: 53.08 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.133e-05/0.8317, allocations: 11.5 kB / 1.029 GB, free: 53.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.8317, allocations: 10.5 kB / 1.029 GB, free: 53.06 MB / 0.698 GB Notification: Performance of SimCode: time 8.91e-07/0.8317, allocations: 0 / 1.029 GB, free: 53.06 MB / 0.698 GB Notification: Performance of Templates: time 0.003839/0.8356, allocations: 1.392 MB / 1.031 GB, free: 52.95 MB / 0.698 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)