Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.771/1.771, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001075/0.001075, allocations: 167.5 kB / 393.1 MB, free: 4.102 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.545/1.545, allocations: 225.7 MB / 0.6743 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008922/0.0008919, allocations: 97.31 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.00045, allocations: 8 kB / 0.9224 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.878/0.8785, allocations: 121.3 MB / 1.041 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001111/0.8797, allocations: 435.5 kB / 1.041 GB, free: 57.98 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.8816, allocations: 1.579 MB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.8816, allocations: 2.156 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.8817, allocations: 4.5 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.112e-05/0.8818, allocations: 18.88 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007987/0.8826, allocations: 284.8 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.8828, allocations: 227.4 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.8829, allocations: 18.05 kB / 1.043 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.8831, allocations: 88.27 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.8833, allocations: 71.61 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.8833, allocations: 12 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.8834, allocations: 22.62 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.8835, allocations: 10.73 kB / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.8836, allocations: 103.3 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.884, allocations: 206.5 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.884, allocations: 2.344 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.976e-06/0.884, allocations: 0.5 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.884, allocations: 0 / 1.044 GB, free: 56.27 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.0005347/0.8846, allocations: 460.2 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.8846, allocations: 10.12 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.8847, allocations: 18.19 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.8849, allocations: 175.1 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.8849, allocations: 7.969 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.885, allocations: 19.34 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.8851, allocations: 60.28 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.8851, allocations: 5.25 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.8851, allocations: 4 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.8852, allocations: 0.5 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.318e-05/0.8852, allocations: 16.97 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.8858, allocations: 416 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.374e-05/0.8859, allocations: 38.17 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.8859, allocations: 18.73 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.8859, allocations: 3.812 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.8861, allocations: 96.52 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.8862, allocations: 1.562 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0002994/0.8865, allocations: 139 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.8865, allocations: 62.5 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.8866, allocations: 133.9 kB / 1.045 GB, free: 54.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.8867, allocations: 38.92 kB / 1.046 GB, free: 54.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.8867, allocations: 96.72 kB / 1.046 GB, free: 54.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.8868, allocations: 21 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.8868, allocations: 9.844 kB / 1.046 GB, free: 54.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.8869, allocations: 326.2 kB / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.8871, allocations: 85.81 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.8873, allocations: 140.3 kB / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.8876, allocations: 231.4 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.8876, allocations: 3.344 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005625/0.8881, allocations: 370.7 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.821e-05/0.8882, allocations: 109.9 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8882, allocations: 0 / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.8883, allocations: 3.375 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.918e-05/0.8883, allocations: 5.125 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.8883, allocations: 8.797 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005742/0.8889, allocations: 108.2 kB / 1.047 GB, free: 53.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.889, allocations: 30.03 kB / 1.047 GB, free: 53.73 MB / 0.698 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,and1.y,$PRE.booPul3.y,booPul3.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.8891, allocations: 126.8 kB / 1.047 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.8891, allocations: 6.938 kB / 1.047 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.8891, allocations: 11.31 kB / 1.047 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8891, allocations: 2.5 kB / 1.047 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8891, allocations: 0 / 1.047 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.8892, allocations: 2.016 kB / 1.047 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.8893, allocations: 195.4 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.8893, allocations: 5.734 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-05/0.8893, allocations: 7.281 kB / 1.047 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.8893, allocations: 4 kB / 1.047 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.8894, allocations: 1.547 kB / 1.047 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.8894, allocations: 1.594 kB / 1.047 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8894, allocations: 0 / 1.047 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.8895, allocations: 143 kB / 1.047 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.8896, allocations: 84.81 kB / 1.048 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.8896, allocations: 8.812 kB / 1.048 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.8897, allocations: 4.219 kB / 1.048 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.8897, allocations: 10.06 kB / 1.048 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.8897, allocations: 7.438 kB / 1.048 GB, free: 53.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.225e-05/0.8898, allocations: 98.94 kB / 1.048 GB, free: 53.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8898, allocations: 3.938 kB / 1.048 GB, free: 53.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002603/0.8901, allocations: 44.97 kB / 1.048 GB, free: 53.08 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.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 (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.0001837/0.8902, allocations: 114.3 kB / 1.048 GB, free: 52.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004509/0.8907, allocations: 374.6 kB / 1.048 GB, free: 52.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8907, allocations: 0 / 1.048 GB, free: 52.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.8908, allocations: 33.09 kB / 1.048 GB, free: 52.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.8911, allocations: 28.56 kB / 1.048 GB, free: 52.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.8915, allocations: 211.7 kB / 1.048 GB, free: 52.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.8917, allocations: 0.694 MB / 1.049 GB, free: 51.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.403e-05/0.8917, allocations: 8.625 kB / 1.049 GB, free: 51.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.8917, allocations: 15.69 kB / 1.049 GB, free: 51.83 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.8917, allocations: 0 / 1.049 GB, free: 51.83 MB / 0.698 GB Notification: Performance of Templates: time 0.005518/0.8973, allocations: 2.486 MB / 1.052 GB, free: 51.61 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)