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.Nand.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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.561/2.561, allocations: 254.9 MB / 269.9 MB, free: 9.648 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.001412/0.001412, allocations: 193.1 kB / 329.5 MB, free: 1.164 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.478/2.478, allocations: 225.6 MB / 0.6001 GB, free: 2.18 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.001008/0.001008, allocations: 98.17 kB / 0.7074 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005004, allocations: 12.62 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2284, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002171/0.2306, allocations: 1.079 MB / 0.9318 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006165/0.2313, allocations: 195.5 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.577e-05/0.2313, allocations: 7.938 kB / 0.932 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.2314, allocations: 0 / 0.932 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.2315, allocations: 7.922 kB / 0.932 GB, free: 23.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.2317, allocations: 15.92 kB / 0.9321 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2318, allocations: 51.84 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2319, allocations: 8 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.232, allocations: 19.86 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.358e-05/0.2321, allocations: 27.86 kB / 0.9322 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.2322, allocations: 0 / 0.9322 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.037e-05/0.2322, allocations: 4 kB / 0.9322 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.2322, allocations: 7.984 kB / 0.9322 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.2323, allocations: 33.69 kB / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.61e-05/0.2324, allocations: 43.84 kB / 0.9322 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2324, allocations: 0 / 0.9322 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2324, allocations: 0 / 0.9322 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2325, allocations: 0 / 0.9322 GB, free: 23.62 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.0007439/0.2332, allocations: 375.5 kB / 0.9326 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.2333, allocations: 8.031 kB / 0.9326 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.2333, allocations: 4.938 kB / 0.9326 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2335, allocations: 176.3 kB / 0.9328 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.2335, allocations: 8.375 kB / 0.9328 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.2336, allocations: 384 / 0.9328 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.2337, allocations: 50.25 kB / 0.9328 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2338, allocations: 4.188 kB / 0.9328 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.2338, allocations: 3.938 kB / 0.9328 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2338, allocations: 0 / 0.9328 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.234, allocations: 27.92 kB / 0.9329 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.2345, allocations: 276.9 kB / 0.9331 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.2347, allocations: 50.5 kB / 0.9332 GB, free: 22.51 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.177e-05/0.2348, allocations: 20.98 kB / 0.9332 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2348, allocations: 0 / 0.9332 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.2351, allocations: 67.33 kB / 0.9333 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/0.2351, allocations: 0 / 0.9333 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003534/0.2355, allocations: 89.58 kB / 0.9333 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.2355, allocations: 51.41 kB / 0.9334 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2357, allocations: 121.8 kB / 0.9335 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2357, allocations: 29.7 kB / 0.9335 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.2358, allocations: 92.03 kB / 0.9336 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.2358, allocations: 19.91 kB / 0.9337 GB, free: 21.97 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.2358, allocations: 0 / 0.9337 GB, free: 21.97 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.014e-05/0.2359, allocations: 314.8 kB / 0.934 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.861e-05/0.236, allocations: 19.92 kB / 0.934 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.554e-05/0.2361, allocations: 34.52 kB / 0.934 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.64e-05/0.2362, allocations: 28.55 kB / 0.934 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2362, allocations: 0 / 0.934 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002336/0.2365, allocations: 81.52 kB / 0.9341 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2365, allocations: 4 kB / 0.9341 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2365, allocations: 0 / 0.9341 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2365, allocations: 4 kB / 0.9341 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.2366, allocations: 4 kB / 0.9341 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2367, allocations: 3.938 kB / 0.9341 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.2369, allocations: 20.05 kB / 0.9341 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2369, 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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.941e-05/0.237, allocations: 118.3 kB / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.2371, allocations: 7.906 kB / 0.9343 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.2371, allocations: 12.36 kB / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2372, allocations: 4 kB / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2372, allocations: 0 / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.2372, allocations: 4 kB / 0.9343 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.2374, allocations: 185.6 kB / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2374, allocations: 0 / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.2375, allocations: 0 / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2375, allocations: 0 / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.2375, allocations: 0 / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2375, allocations: 4 kB / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2375, allocations: 0 / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.2378, allocations: 104.9 kB / 0.9346 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.2379, allocations: 81.09 kB / 0.9346 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.2379, allocations: 4 kB / 0.9346 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.2381, allocations: 19.97 kB / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.2382, allocations: 11.98 kB / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2382, allocations: 7.938 kB / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.189e-05/0.2383, allocations: 87.27 kB / 0.9348 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2383, allocations: 4 kB / 0.9348 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004662/0.2388, allocations: 19.94 kB / 0.9348 GB, free: 20.69 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,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 (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.0001428/0.239, allocations: 103.2 kB / 0.9349 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.2392, allocations: 43.92 kB / 0.9349 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2392, allocations: 0 / 0.9349 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.2393, allocations: 23.98 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.0004706/0.2398, 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.0004822/0.2403, allocations: 174.2 kB / 0.9351 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.2405, allocations: 0.6829 MB / 0.9358 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.079e-05/0.2406, allocations: 7.984 kB / 0.9358 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.2406, allocations: 15.38 kB / 0.9358 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of SimCode: time 1.332e-06/0.2406, allocations: 4 kB / 0.9358 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of Templates: time 0.005532/0.2462, allocations: 0.7485 MB / 0.9366 GB, free: 18.81 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)