Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.745/1.745, allocations: 292.6 MB / 307.8 MB, free: 7.148 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.00107/0.00107, allocations: 192.9 kB / 376.5 MB, free: 4.434 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.668/1.668, allocations: 225.7 MB / 0.655 GB, free: 13.15 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.0008019/0.0008021, allocations: 95.78 kB / 0.7711 GB, free: 50.21 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004021, allocations: 12 kB / 0.897 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7686/0.7691, allocations: 118.2 MB / 1.012 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0009406/0.77, allocations: 428.7 kB / 1.013 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.7719, allocations: 1.233 MB / 1.014 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.772, allocations: 3.562 kB / 1.014 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.772, allocations: 5.438 kB / 1.014 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.571e-05/0.7721, allocations: 21.81 kB / 1.014 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009067/0.7731, allocations: 270.9 kB / 1.014 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.7733, allocations: 206.8 kB / 1.015 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.7734, allocations: 9.781 kB / 1.015 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.7736, allocations: 92.47 kB / 1.015 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.7737, allocations: 66.25 kB / 1.015 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.7738, allocations: 15.22 kB / 1.015 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.7739, allocations: 32.11 kB / 1.015 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.7739, allocations: 8.078 kB / 1.015 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.774, allocations: 97.02 kB / 1.015 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.7742, allocations: 151.3 kB / 1.015 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.7742, allocations: 0 / 1.015 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.255e-06/0.7742, allocations: 0 / 1.015 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.7742, allocations: 1.969 kB / 1.015 GB, free: 57.2 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.0004566/0.7747, allocations: 460.8 kB / 1.015 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.7747, allocations: 15.53 kB / 1.015 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.7748, allocations: 17.03 kB / 1.015 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.986e-05/0.7749, allocations: 172.5 kB / 1.016 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.7749, allocations: 10.89 kB / 1.016 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.775, allocations: 16.55 kB / 1.016 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.7751, allocations: 61.69 kB / 1.016 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.7751, allocations: 3.938 kB / 1.016 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.7752, allocations: 3.625 kB / 1.016 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.7752, allocations: 0 / 1.016 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.7752, allocations: 21.06 kB / 1.016 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.7757, allocations: 414.4 kB / 1.016 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.712e-05/0.7758, allocations: 36.64 kB / 1.016 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.7759, allocations: 23.98 kB / 1.016 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.7759, allocations: 0 / 1.016 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.7761, allocations: 107.8 kB / 1.016 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.7761, allocations: 0 / 1.016 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002943/0.7764, allocations: 137 kB / 1.016 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.7764, allocations: 55.03 kB / 1.016 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.7765, allocations: 134.9 kB / 1.017 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.7766, allocations: 36.8 kB / 1.017 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.7766, allocations: 97.2 kB / 1.017 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.7767, allocations: 20.56 kB / 1.017 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.7767, allocations: 8 kB / 1.017 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.7768, allocations: 324.8 kB / 1.017 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.7769, allocations: 86.5 kB / 1.017 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.7771, allocations: 142.9 kB / 1.017 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.7774, allocations: 234 kB / 1.017 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7774, allocations: 0 / 1.017 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005291/0.7779, allocations: 372.7 kB / 1.018 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/0.778, allocations: 99.61 kB / 1.018 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.778, allocations: 3.094 kB / 1.018 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.778, allocations: 6.844 kB / 1.018 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.199e-05/0.778, allocations: 6.625 kB / 1.018 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.778, allocations: 3.75 kB / 1.018 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.7786, allocations: 117.8 kB / 1.018 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.7786, allocations: 24.08 kB / 1.018 GB, free: 55.04 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 9.949e-05/0.7787, allocations: 129.1 kB / 1.018 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.7787, allocations: 10.48 kB / 1.018 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.7788, allocations: 10.78 kB / 1.018 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.7788, allocations: 6.406 kB / 1.018 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7788, allocations: 0 / 1.018 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7788, allocations: 0 / 1.018 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.7789, allocations: 196.2 kB / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.7789, allocations: 0 / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.918e-06/0.779, allocations: 3 kB / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.779, allocations: 0 / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.779, allocations: 2.844 kB / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.779, allocations: 6.922 kB / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.779, allocations: 0 / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.7791, allocations: 140.1 kB / 1.019 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.7792, allocations: 86.89 kB / 1.019 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.7792, allocations: 2.562 kB / 1.019 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.7792, allocations: 1.062 kB / 1.019 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.7793, allocations: 12.19 kB / 1.019 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.7793, allocations: 3.5 kB / 1.019 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.014e-05/0.7793, allocations: 101.6 kB / 1.019 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.7793, allocations: 0 / 1.019 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002398/0.7796, allocations: 44.47 kB / 1.019 GB, free: 54.46 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.0001621/0.7798, allocations: 127.6 kB / 1.019 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004125/0.7802, allocations: 366.3 kB / 1.019 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7802, allocations: 0 / 1.019 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.05e-05/0.7803, allocations: 39.62 kB / 1.019 GB, free: 54.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.7805, allocations: 22.78 kB / 1.019 GB, free: 54.17 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.7809, allocations: 204.9 kB / 1.02 GB, free: 54.03 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.781, allocations: 0.697 MB / 1.02 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.781, allocations: 5.875 kB / 1.02 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.7811, allocations: 13.34 kB / 1.02 GB, free: 53.32 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7811, allocations: 4.531 kB / 1.02 GB, free: 53.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.004786/0.7859, allocations: 2.436 MB / 1.023 GB, free: 53.18 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)