Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 255.9 MB / 271.2 MB, free: 8.926 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.001649/0.001649, allocations: 191.1 kB / 330.8 MB, free: 488 kB / 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 1.85/1.85, allocations: 225.7 MB / 0.6016 GB, free: 1.68 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.0008615/0.0008615, allocations: 99.7 kB / 0.709 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003958, allocations: 8.688 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2501, allocations: 109.2 MB / 0.9328 GB, free: 6.27 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001899/0.2521, allocations: 1.083 MB / 0.9338 GB, free: 5.176 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0004893/0.2526, allocations: 183.6 kB / 0.934 GB, free: 4.996 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.2527, allocations: 4 kB / 0.934 GB, free: 4.992 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.2528, allocations: 3.938 kB / 0.934 GB, free: 4.988 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.2529, allocations: 15.91 kB / 0.934 GB, free: 4.973 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.2531, allocations: 15.98 kB / 0.934 GB, free: 4.957 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.2532, allocations: 51.8 kB / 0.9341 GB, free: 4.906 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.2534, allocations: 11.98 kB / 0.9341 GB, free: 4.895 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.583e-05/0.2534, allocations: 19.88 kB / 0.9341 GB, free: 4.875 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.25e-05/0.2535, allocations: 19.91 kB / 0.9341 GB, free: 4.855 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.2536, allocations: 4 kB / 0.9341 GB, free: 4.852 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.2536, allocations: 0 / 0.9341 GB, free: 4.852 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.2536, allocations: 19.86 kB / 0.9342 GB, free: 4.832 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.2537, allocations: 45.62 kB / 0.9342 GB, free: 4.781 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.2538, allocations: 47.8 kB / 0.9343 GB, free: 4.734 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2539, allocations: 0 / 0.9343 GB, free: 4.734 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2539, allocations: 0 / 0.9343 GB, free: 4.734 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2539, allocations: 0 / 0.9343 GB, free: 4.734 MB / 0.573 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.0006354/0.2545, allocations: 371.6 kB / 0.9346 GB, free: 4.32 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.2546, allocations: 11.98 kB / 0.9346 GB, free: 4.309 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.2546, allocations: 8.844 kB / 0.9346 GB, free: 4.301 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2548, allocations: 176.4 kB / 0.9348 GB, free: 4.09 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.2548, allocations: 4.312 kB / 0.9348 GB, free: 4.086 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.2548, allocations: 4.375 kB / 0.9348 GB, free: 4.082 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.255, allocations: 50.25 kB / 0.9349 GB, free: 4.027 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.255, allocations: 192 / 0.9349 GB, free: 4.027 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.255, allocations: 3.938 kB / 0.9349 GB, free: 4.023 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.255, allocations: 0 / 0.9349 GB, free: 4.023 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.2551, allocations: 23.98 kB / 0.9349 GB, free: 4 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.2556, allocations: 280.8 kB / 0.9351 GB, free: 3.676 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.2557, allocations: 50.44 kB / 0.9352 GB, free: 3.617 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.2558, allocations: 16.98 kB / 0.9352 GB, free: 3.598 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.2558, allocations: 0 / 0.9352 GB, free: 3.598 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.256, allocations: 75.38 kB / 0.9353 GB, free: 3.512 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.256, allocations: 0 / 0.9353 GB, free: 3.512 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0002696/0.2563, allocations: 93.67 kB / 0.9354 GB, free: 3.414 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.2564, allocations: 51.41 kB / 0.9354 GB, free: 3.352 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.942e-05/0.2565, allocations: 117.8 kB / 0.9355 GB, free: 3.227 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2565, allocations: 25.7 kB / 0.9356 GB, free: 3.195 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.2565, allocations: 92.12 kB / 0.9356 GB, free: 3.102 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.2566, allocations: 19.75 kB / 0.9357 GB, free: 3.082 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.2566, allocations: 0 / 0.9357 GB, free: 3.082 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.2567, allocations: 314.8 kB / 0.936 GB, free: 2.766 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.2567, allocations: 19.98 kB / 0.936 GB, free: 2.746 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.244e-05/0.2568, allocations: 30.56 kB / 0.936 GB, free: 2.707 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.718e-05/0.2569, allocations: 58.39 kB / 0.9361 GB, free: 2.641 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2569, allocations: 0 / 0.9361 GB, free: 2.641 MB / 0.573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001462/0.257, allocations: 77.61 kB / 0.9361 GB, free: 2.559 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2571, allocations: 8.188 kB / 0.9362 GB, free: 2.551 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2571, allocations: 0 / 0.9362 GB, free: 2.551 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2571, allocations: 3.938 kB / 0.9362 GB, free: 2.547 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.008e-05/0.2572, allocations: 4 kB / 0.9362 GB, free: 2.543 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2572, allocations: 7.938 kB / 0.9362 GB, free: 2.535 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.2573, allocations: 19.95 kB / 0.9362 GB, free: 2.516 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.2573, allocations: 8 kB / 0.9362 GB, free: 2.508 MB / 0.573 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,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.367e-05/0.2574, allocations: 122.4 kB / 0.9363 GB, free: 2.379 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.2575, allocations: 4 kB / 0.9363 GB, free: 2.375 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.2575, allocations: 8.375 kB / 0.9363 GB, free: 2.363 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2575, allocations: 3.984 kB / 0.9363 GB, free: 2.359 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2575, allocations: 0 / 0.9363 GB, free: 2.359 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2575, allocations: 0 / 0.9363 GB, free: 2.359 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.2577, allocations: 185.6 kB / 0.9365 GB, free: 2.129 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2577, allocations: 0 / 0.9365 GB, free: 2.129 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.2577, allocations: 4 kB / 0.9365 GB, free: 2.125 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2577, allocations: 0 / 0.9365 GB, free: 2.125 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.2578, allocations: 0 / 0.9365 GB, free: 2.125 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2578, allocations: 0 / 0.9365 GB, free: 2.125 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2578, allocations: 0 / 0.9365 GB, free: 2.125 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.2579, allocations: 109.6 kB / 0.9366 GB, free: 2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.258, allocations: 85.02 kB / 0.9367 GB, free: 1.898 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.258, allocations: 4 kB / 0.9367 GB, free: 1.895 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2581, allocations: 15.98 kB / 0.9367 GB, free: 1.879 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.2582, allocations: 11.98 kB / 0.9367 GB, free: 1.867 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.2582, allocations: 0 / 0.9367 GB, free: 1.867 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.2583, allocations: 95.33 kB / 0.9368 GB, free: 1.773 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2583, allocations: 0 / 0.9368 GB, free: 1.773 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002931/0.2586, allocations: 19.94 kB / 0.9368 GB, free: 1.754 MB / 0.573 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,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.0001363/0.2587, allocations: 107.8 kB / 0.9369 GB, free: 1.641 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.2589, allocations: 43.92 kB / 0.937 GB, free: 1.598 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2589, allocations: 0 / 0.937 GB, free: 1.598 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 6.481e-05/0.259, allocations: 27.92 kB / 0.937 GB, free: 1.57 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.2593, allocations: 23.86 kB / 0.937 GB, free: 1.547 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.2597, allocations: 168 kB / 0.9372 GB, free: 1.352 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.2598, allocations: 0.6848 MB / 0.9379 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 4.282e-05/0.2599, allocations: 7.781 kB / 0.9379 GB, free: 0.6328 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.2599, allocations: 11.44 kB / 0.9379 GB, free: 0.625 MB / 0.573 GB Notification: Performance of SimCode: time 2.61e-07/0.2599, allocations: 0 / 0.9379 GB, free: 0.625 MB / 0.573 GB Notification: Performance of Templates: time 0.003958/0.2639, allocations: 0.7887 MB / 0.9386 GB, free: 15.84 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)