Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.437/2.437, allocations: 254.9 MB / 269.9 MB, free: 9.633 MB / 218.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.002112/0.002111, allocations: 182.7 kB / 329.5 MB, free: 1.172 MB / 250.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 2.977/2.977, allocations: 225.6 MB / 0.6001 GB, free: 2.281 MB / 426.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.0009361/0.000936, allocations: 91.52 kB / 0.7074 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007228/0.000723, allocations: 16.97 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2607, allocations: 109.1 MB / 0.9308 GB, free: 25.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001601/0.2623, allocations: 1.091 MB / 0.9318 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004412/0.2628, allocations: 191.6 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.2628, allocations: 3.938 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.2629, allocations: 0 / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.185e-05/0.263, allocations: 15.84 kB / 0.932 GB, free: 23.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.2631, allocations: 8 kB / 0.932 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.121e-05/0.2632, allocations: 51.84 kB / 0.9321 GB, free: 23.78 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2634, allocations: 15.97 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.158e-05/0.2634, allocations: 23.86 kB / 0.9321 GB, free: 23.74 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.829e-05/0.2635, allocations: 19.92 kB / 0.9321 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.2635, allocations: 0 / 0.9321 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.2635, allocations: 4 kB / 0.9322 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.2636, allocations: 11.92 kB / 0.9322 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.2636, allocations: 33.64 kB / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.577e-05/0.2637, allocations: 35.92 kB / 0.9322 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.2637, allocations: 0 / 0.9322 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2637, allocations: 0 / 0.9322 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2637, allocations: 4 kB / 0.9322 GB, free: 23.63 MB / 0.5886 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.0006098/0.2644, allocations: 371.5 kB / 0.9326 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2644, allocations: 8.031 kB / 0.9326 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.2645, allocations: 4.938 kB / 0.9326 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2646, allocations: 176.3 kB / 0.9328 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2646, allocations: 4.375 kB / 0.9328 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.2646, allocations: 4.375 kB / 0.9328 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.2648, allocations: 54.23 kB / 0.9328 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2648, allocations: 192 / 0.9328 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.2648, allocations: 3.938 kB / 0.9328 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.2648, allocations: 0 / 0.9328 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.2649, allocations: 27.92 kB / 0.9329 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.2654, allocations: 276.9 kB / 0.9331 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.2655, allocations: 50.5 kB / 0.9332 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.2656, allocations: 12.98 kB / 0.9332 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.2656, allocations: 4 kB / 0.9332 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.2658, allocations: 67.33 kB / 0.9333 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.073e-06/0.2658, allocations: 0 / 0.9333 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002633/0.2661, allocations: 97.62 kB / 0.9333 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.2661, allocations: 59.41 kB / 0.9334 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.2662, allocations: 113.8 kB / 0.9335 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.2663, allocations: 29.7 kB / 0.9335 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.2663, allocations: 92.03 kB / 0.9336 GB, free: 22 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.2663, allocations: 19.78 kB / 0.9336 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.2664, allocations: 0 / 0.9336 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.2664, allocations: 314.8 kB / 0.9339 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.2665, allocations: 15.98 kB / 0.934 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-05/0.2666, allocations: 34.58 kB / 0.934 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.2666, allocations: 19.92 kB / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2666, allocations: 0 / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001474/0.2668, allocations: 81.52 kB / 0.9341 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2668, allocations: 8.094 kB / 0.9341 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2668, allocations: 4 kB / 0.9341 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2668, allocations: 3.938 kB / 0.9341 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.2669, allocations: 16 kB / 0.9341 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2669, allocations: 0 / 0.9341 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.2671, allocations: 15.98 kB / 0.9341 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.2671, allocations: 0 / 0.9341 GB, free: 21.45 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 7.468e-05/0.2672, allocations: 121.8 kB / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.2672, allocations: 3.906 kB / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.2673, allocations: 16.36 kB / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2673, allocations: 4 kB / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2673, allocations: 4 kB / 0.9343 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2673, allocations: 0 / 0.9343 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2675, allocations: 177.6 kB / 0.9344 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2675, allocations: 0 / 0.9344 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.391e-05/0.2675, allocations: 4 kB / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2675, allocations: 0 / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2675, allocations: 4 kB / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2675, allocations: 0 / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2675, allocations: 0 / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.2677, allocations: 112.9 kB / 0.9346 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.2678, allocations: 81.09 kB / 0.9346 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.2678, allocations: 4 kB / 0.9346 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.2679, allocations: 11.98 kB / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.268, allocations: 11.98 kB / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.268, allocations: 7.938 kB / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.2681, allocations: 96.05 kB / 0.9348 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2681, allocations: 0 / 0.9348 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002382/0.2683, allocations: 11.94 kB / 0.9348 GB, free: 20.7 MB / 0.5886 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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 (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.000117/0.2685, allocations: 107.8 kB / 0.9349 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.2686, allocations: 39.92 kB / 0.9349 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2686, allocations: 0 / 0.9349 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.236e-05/0.2687, allocations: 32.31 kB / 0.935 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.269, allocations: 24.05 kB / 0.935 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.2694, allocations: 164.9 kB / 0.9351 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.2696, allocations: 0.6809 MB / 0.9358 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.206e-05/0.2696, allocations: 11.98 kB / 0.9358 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.2697, allocations: 11.44 kB / 0.9358 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of SimCode: time 8.01e-07/0.2697, allocations: 0 / 0.9358 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of Templates: time 0.003545/0.2732, allocations: 0.7569 MB / 0.9366 GB, free: 18.82 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)