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.Nand.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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.895/1.895, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.001427/0.001427, allocations: 175.5 kB / 393.1 MB, free: 4.078 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.541/1.541, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0008277/0.000828, allocations: 102.2 kB / 0.7935 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003968, allocations: 8 kB / 0.9224 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7623/0.7627, allocations: 121.3 MB / 1.041 GB, free: 58.45 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001071/0.7639, allocations: 384.4 kB / 1.041 GB, free: 58.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.7655, allocations: 1.419 MB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.7655, allocations: 6.156 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.7656, allocations: 3.938 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.35e-05/0.7656, allocations: 16.05 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.7662, allocations: 196.1 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.7664, allocations: 149.9 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.7665, allocations: 12.03 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.591e-05/0.7666, allocations: 61.83 kB / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.445e-05/0.7667, allocations: 42.17 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.7668, allocations: 13.75 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.739e-05/0.7668, allocations: 20.77 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.7669, allocations: 10.59 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.264e-05/0.767, allocations: 77.59 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.7672, allocations: 133.2 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7672, allocations: 0.5312 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7672, allocations: 0 / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7672, allocations: 0.75 kB / 1.043 GB, free: 56.83 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.0004272/0.7677, allocations: 420.3 kB / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.7677, allocations: 15.17 kB / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.7678, allocations: 7.375 kB / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.7679, allocations: 171.2 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.7679, allocations: 5.469 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.768, allocations: 9.688 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.7681, allocations: 56.73 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7681, allocations: 1.562 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.7681, allocations: 3.938 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.7681, allocations: 0 / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.311e-05/0.7682, allocations: 14.8 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.7686, allocations: 345.9 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/0.7687, allocations: 43.27 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.7687, allocations: 14.92 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.7688, allocations: 0 / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.7689, allocations: 89.5 kB / 1.044 GB, free: 55.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.7689, allocations: 0 / 1.044 GB, free: 55.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002395/0.7692, allocations: 104.7 kB / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.7692, allocations: 57.09 kB / 1.045 GB, free: 55.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.7693, allocations: 124.3 kB / 1.045 GB, free: 55.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.7694, allocations: 30.48 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.7694, allocations: 91.8 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.7694, allocations: 12.5 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.7694, allocations: 4.656 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.466e-05/0.7695, allocations: 323.7 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.7696, allocations: 61.17 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.7698, allocations: 90 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.77, allocations: 156.7 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.77, allocations: 0 / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003964/0.7704, allocations: 259.2 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.7704, allocations: 73.08 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.7705, allocations: 0.5938 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.7705, allocations: 7.875 kB / 1.046 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.99e-05/0.7705, allocations: 1.469 kB / 1.046 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.7705, allocations: 3.594 kB / 1.046 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.7709, allocations: 91.25 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.771, allocations: 14.06 kB / 1.046 GB, free: 54.58 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,nand1.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 8.521e-05/0.7711, allocations: 123 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.7711, allocations: 6.5 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.7711, allocations: 9.469 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.7711, allocations: 2.047 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7711, allocations: 1.219 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7711, allocations: 4.594 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.7712, allocations: 188.5 kB / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7713, allocations: 0 / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-06/0.7713, allocations: 0.9375 kB / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.7713, allocations: 2.938 kB / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.7713, allocations: 1.125 kB / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7713, allocations: 0 / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7713, allocations: 0 / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.7714, allocations: 108.1 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.7715, allocations: 84.25 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.7715, allocations: 5.094 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/0.7715, allocations: 9.062 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.7716, allocations: 4.984 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.7716, allocations: 5.453 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.761e-05/0.7716, allocations: 93.61 kB / 1.047 GB, free: 53.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7716, allocations: 0 / 1.047 GB, free: 53.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002274/0.7719, allocations: 29.53 kB / 1.047 GB, free: 53.96 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,nand1.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.0001618/0.772, allocations: 119.6 kB / 1.047 GB, free: 53.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.7724, allocations: 251.6 kB / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7724, allocations: 0 / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.7724, allocations: 22.38 kB / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.7727, allocations: 17.53 kB / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.773, allocations: 177.2 kB / 1.047 GB, free: 53.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.7732, allocations: 0.6844 MB / 1.048 GB, free: 52.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.7732, allocations: 9.531 kB / 1.048 GB, free: 52.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.7733, allocations: 11.12 kB / 1.048 GB, free: 52.83 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7733, allocations: 0 / 1.048 GB, free: 52.83 MB / 0.698 GB Notification: Performance of Templates: time 0.00453/0.7778, allocations: 1.751 MB / 1.05 GB, free: 52.66 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)