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.And.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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And") 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.782/1.782, allocations: 297.4 MB / 312.6 MB, free: 2.91 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.001733/0.001733, allocations: 189.2 kB / 382.3 MB, free: 14.8 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.558/1.558, allocations: 225.7 MB / 0.6617 GB, free: 7.246 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.0009212/0.0009213, allocations: 92.92 kB / 0.7789 GB, free: 47.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003818, allocations: 9.156 kB / 0.9059 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7588/0.7592, allocations: 119.2 MB / 1.022 GB, free: 58.19 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001002/0.7603, allocations: 388.1 kB / 1.023 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.7621, allocations: 1.424 MB / 1.024 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.7622, allocations: 1.062 kB / 1.024 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.7622, allocations: 4.547 kB / 1.024 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.729e-05/0.7623, allocations: 12.94 kB / 1.024 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.763, allocations: 202.9 kB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.7632, allocations: 146.9 kB / 1.024 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.7633, allocations: 10.92 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.7634, allocations: 56.66 kB / 1.024 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.7635, allocations: 49.7 kB / 1.025 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.7636, allocations: 8.031 kB / 1.025 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.799e-05/0.7636, allocations: 26.39 kB / 1.025 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.7637, allocations: 10.39 kB / 1.025 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.7638, allocations: 77.41 kB / 1.025 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.7641, allocations: 140.7 kB / 1.025 GB, free: 56.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.7641, allocations: 0 / 1.025 GB, free: 56.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7641, allocations: 0 / 1.025 GB, free: 56.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.7641, allocations: 0 / 1.025 GB, free: 56.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004353/0.7645, allocations: 408.8 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.7646, allocations: 10.03 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/0.7647, allocations: 14.48 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.445e-05/0.7648, allocations: 172.1 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.7648, allocations: 6.203 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.7648, allocations: 11.34 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.765, allocations: 51 kB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.765, allocations: 192 / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.765, allocations: 8.5 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.765, allocations: 1.375 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.343e-05/0.7651, allocations: 13.03 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.7655, allocations: 347.5 kB / 1.026 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.7656, allocations: 43.69 kB / 1.026 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.7657, allocations: 19.39 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.7657, allocations: 1.828 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.7659, allocations: 79.38 kB / 1.026 GB, free: 55.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.7659, allocations: 1.219 kB / 1.026 GB, free: 55.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000266/0.7661, allocations: 108.8 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.7662, allocations: 55.59 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.7663, allocations: 124.3 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.7663, allocations: 29.58 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.7664, allocations: 97.02 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.7664, allocations: 12.33 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.7664, allocations: 3.844 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.7665, allocations: 322.5 kB / 1.027 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.7666, allocations: 61.38 kB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.7668, allocations: 91.12 kB / 1.027 GB, free: 55.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.7669, allocations: 155.1 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7669, allocations: 3.594 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004472/0.7674, allocations: 262.5 kB / 1.027 GB, free: 54.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.7675, allocations: 75.83 kB / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.7675, allocations: 6.047 kB / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.7675, allocations: 1.125 kB / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.433e-05/0.7675, allocations: 7.469 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.7675, allocations: 1.875 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.7679, allocations: 81.98 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.768, allocations: 16.11 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.572e-05/0.7681, allocations: 122.5 kB / 1.027 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.7681, allocations: 3.406 kB / 1.027 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.7681, allocations: 9.719 kB / 1.027 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.7682, allocations: 6.828 kB / 1.027 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.7682, allocations: 1.938 kB / 1.027 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.7682, allocations: 7.938 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.7683, allocations: 175 kB / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7683, allocations: 3.938 kB / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-06/0.7683, allocations: 1.406 kB / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.7683, allocations: 0 / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.7683, allocations: 3.469 kB / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7683, allocations: 0 / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7683, allocations: 0 / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.7685, allocations: 121.1 kB / 1.028 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.7685, allocations: 81.02 kB / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.7685, allocations: 3.359 kB / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.7686, allocations: 4 kB / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.7686, allocations: 10.73 kB / 1.028 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.7686, allocations: 5.75 kB / 1.028 GB, free: 54.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.741e-05/0.7687, allocations: 94.94 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7687, allocations: 0 / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002088/0.7689, allocations: 31.16 kB / 1.028 GB, free: 54.05 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001551/0.769, allocations: 114.2 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.7694, allocations: 247.4 kB / 1.028 GB, free: 53.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7694, allocations: 0 / 1.028 GB, free: 53.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.7694, allocations: 23.62 kB / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.7696, allocations: 19.25 kB / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.7699, allocations: 170.2 kB / 1.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.7701, allocations: 0.6861 MB / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.768e-05/0.7701, allocations: 6.531 kB / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/0.7702, allocations: 13.88 kB / 1.029 GB, free: 52.92 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.7702, allocations: 0 / 1.029 GB, free: 52.92 MB / 0.698 GB Notification: Performance of Templates: time 0.004129/0.7743, allocations: 1.754 MB / 1.031 GB, free: 52.77 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)