Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") 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.402/1.402, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.0009009/0.000901, allocations: 186.1 kB / 330.8 MB, free: 492 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.564/1.564, allocations: 225.7 MB / 0.6016 GB, free: 1.637 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.0007567/0.0007567, allocations: 103.6 kB / 0.709 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003013, allocations: 12 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1924, allocations: 109.2 MB / 0.9327 GB, free: 6.297 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001186/0.1936, allocations: 0.9345 MB / 0.9337 GB, free: 5.355 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0007514/0.1944, allocations: 0.6636 MB / 0.9343 GB, free: 4.617 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.1944, allocations: 0 / 0.9343 GB, free: 4.617 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.1944, allocations: 0 / 0.9343 GB, free: 4.617 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.166e-05/0.1945, allocations: 3.938 kB / 0.9343 GB, free: 4.613 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.1949, allocations: 75.86 kB / 0.9344 GB, free: 4.539 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 5.162e-05/0.195, allocations: 11.94 kB / 0.9344 GB, free: 4.527 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.195, allocations: 0 / 0.9344 GB, free: 4.527 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.195, allocations: 15.92 kB / 0.9344 GB, free: 4.512 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.578e-05/0.1951, allocations: 11.92 kB / 0.9344 GB, free: 4.5 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1951, allocations: 0 / 0.9344 GB, free: 4.5 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1952, allocations: 83.91 kB / 0.9345 GB, free: 4.418 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.1953, allocations: 0 / 0.9345 GB, free: 4.418 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.1953, allocations: 41.62 kB / 0.9345 GB, free: 4.371 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1955, allocations: 83.77 kB / 0.9346 GB, free: 4.289 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1955, allocations: 8 kB / 0.9346 GB, free: 4.281 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.285e-06/0.1955, allocations: 4 kB / 0.9346 GB, free: 4.277 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.1955, allocations: 0 / 0.9346 GB, free: 4.277 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004032/0.1959, allocations: 353.3 kB / 0.935 GB, free: 3.875 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.196, allocations: 15.98 kB / 0.935 GB, free: 3.859 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.196, allocations: 4.938 kB / 0.935 GB, free: 3.855 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.956e-05/0.1961, allocations: 168.6 kB / 0.9351 GB, free: 3.652 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.1961, allocations: 12.36 kB / 0.9352 GB, free: 3.641 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.1961, allocations: 384 / 0.9352 GB, free: 3.641 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.368e-05/0.1962, allocations: 38.25 kB / 0.9352 GB, free: 3.598 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1962, allocations: 4.188 kB / 0.9352 GB, free: 3.594 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1963, allocations: 3.938 kB / 0.9352 GB, free: 3.59 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1963, allocations: 0 / 0.9352 GB, free: 3.59 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.763e-05/0.1963, allocations: 7.938 kB / 0.9352 GB, free: 3.582 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.1964, allocations: 149.7 kB / 0.9354 GB, free: 3.387 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.849e-05/0.1965, allocations: 30.61 kB / 0.9354 GB, free: 3.348 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.1965, allocations: 16.86 kB / 0.9354 GB, free: 3.328 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.1966, allocations: 4 kB / 0.9354 GB, free: 3.324 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.1967, allocations: 59.39 kB / 0.9355 GB, free: 3.254 MB / 0.573 GB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.1967, allocations: 3.984 kB / 0.9355 GB, free: 3.25 MB / 0.573 GB Notification: Performance of matching and sorting (n=4): time 0.0001841/0.1969, allocations: 69.55 kB / 0.9355 GB, free: 3.176 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.1969, allocations: 55.41 kB / 0.9356 GB, free: 3.109 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.087e-05/0.197, allocations: 93.86 kB / 0.9357 GB, free: 3.008 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.197, allocations: 33.7 kB / 0.9357 GB, free: 2.969 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.644e-05/0.197, allocations: 80.14 kB / 0.9358 GB, free: 2.887 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.197, allocations: 3.906 kB / 0.9358 GB, free: 2.883 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.1971, allocations: 3.938 kB / 0.9358 GB, free: 2.879 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.1971, allocations: 322.8 kB / 0.9361 GB, free: 2.555 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.1971, allocations: 4 kB / 0.9361 GB, free: 2.551 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.92e-05/0.1972, allocations: 35.55 kB / 0.9361 GB, free: 2.504 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.626e-05/0.1972, allocations: 47.38 kB / 0.9362 GB, free: 2.445 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1972, allocations: 0 / 0.9362 GB, free: 2.445 MB / 0.573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.799e-05/0.1973, allocations: 65.56 kB / 0.9362 GB, free: 2.375 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1973, allocations: 15.84 kB / 0.9363 GB, free: 2.359 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1973, allocations: 4.094 kB / 0.9363 GB, free: 2.355 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1974, allocations: 3.984 kB / 0.9363 GB, free: 2.352 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.1974, allocations: 11.94 kB / 0.9363 GB, free: 2.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1974, allocations: 0 / 0.9363 GB, free: 2.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.1975, allocations: 7.906 kB / 0.9363 GB, free: 2.332 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.1975, allocations: 0 / 0.9363 GB, free: 2.332 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.671e-05/0.1976, allocations: 115 kB / 0.9364 GB, free: 2.211 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.1976, allocations: 3.938 kB / 0.9364 GB, free: 2.207 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.1976, allocations: 11.44 kB / 0.9364 GB, free: 2.188 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1976, allocations: 7.984 kB / 0.9364 GB, free: 2.18 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1976, allocations: 0 / 0.9364 GB, free: 2.18 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1976, allocations: 0 / 0.9364 GB, free: 2.18 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.422e-05/0.1977, allocations: 157.6 kB / 0.9366 GB, free: 1.977 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1977, allocations: 0 / 0.9366 GB, free: 1.977 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.1977, allocations: 0 / 0.9366 GB, free: 1.977 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1977, allocations: 7.938 kB / 0.9366 GB, free: 1.969 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1977, allocations: 0 / 0.9366 GB, free: 1.969 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1977, allocations: 0 / 0.9366 GB, free: 1.969 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1977, allocations: 0 / 0.9366 GB, free: 1.969 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.809e-05/0.1979, allocations: 85.11 kB / 0.9367 GB, free: 1.867 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.1979, allocations: 81.02 kB / 0.9367 GB, free: 1.77 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1979, allocations: 3.938 kB / 0.9367 GB, free: 1.766 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.03e-05/0.1979, allocations: 8 kB / 0.9367 GB, free: 1.758 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.198, allocations: 3.984 kB / 0.9367 GB, free: 1.754 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.198, allocations: 4 kB / 0.9368 GB, free: 1.75 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.846e-05/0.198, allocations: 83.22 kB / 0.9368 GB, free: 1.668 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.198, allocations: 4.094 kB / 0.9368 GB, free: 1.664 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002173/0.1982, allocations: 23.94 kB / 0.9369 GB, free: 1.641 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0002803/0.1985, allocations: 174.6 kB / 0.937 GB, free: 1.48 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.125e-05/0.1986, allocations: 27.98 kB / 0.937 GB, free: 1.453 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1986, allocations: 3.938 kB / 0.9371 GB, free: 1.449 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/0.1986, allocations: 20.17 kB / 0.9371 GB, free: 1.43 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1988, allocations: 0 / 0.9371 GB, free: 1.43 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.199, allocations: 104.4 kB / 0.9372 GB, free: 1.301 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.1991, allocations: 0.677 MB / 0.9378 GB, free: 0.5977 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.975e-05/0.1991, allocations: 0 / 0.9378 GB, free: 0.5977 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/0.1991, allocations: 11.44 kB / 0.9378 GB, free: 0.5859 MB / 0.573 GB Notification: Performance of SimCode: time 2.1e-07/0.1991, allocations: 0 / 0.9378 GB, free: 0.5859 MB / 0.573 GB Notification: Performance of Templates: time 0.00284/0.202, allocations: 0.94 MB / 0.9388 GB, free: 15.65 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)