Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 297.4 MB / 312.6 MB, free: 2.926 MB / 234.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.001032/0.001032, allocations: 174.1 kB / 382.3 MB, free: 14.83 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.402/1.402, allocations: 225.7 MB / 0.6617 GB, free: 7.246 MB / 490.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.0008503/0.0008503, allocations: 90.75 kB / 0.7789 GB, free: 47.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003102, allocations: 8 kB / 0.9058 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6076/0.608, allocations: 119.2 MB / 1.022 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001259/0.6093, allocations: 0.9346 MB / 1.023 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007381/0.61, allocations: 0.6703 MB / 1.024 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.61, allocations: 0 / 1.024 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.6101, allocations: 0 / 1.024 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.56e-05/0.6101, allocations: 0 / 1.024 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.6105, allocations: 80.88 kB / 1.024 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.39e-05/0.6105, allocations: 12.77 kB / 1.024 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.6106, allocations: 10.28 kB / 1.024 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.006e-05/0.6106, allocations: 6.75 kB / 1.024 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.505e-05/0.6106, allocations: 8.219 kB / 1.024 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.6107, allocations: 1.375 kB / 1.024 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.6108, allocations: 84.47 kB / 1.024 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.6108, allocations: 4.25 kB / 1.024 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.6109, allocations: 40.44 kB / 1.024 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.611, allocations: 78.61 kB / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.611, allocations: 5.312 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/0.611, allocations: 0 / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.6111, allocations: 0.7812 kB / 1.024 GB, free: 57.29 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003347/0.6114, allocations: 359.5 kB / 1.024 GB, free: 56.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.6114, allocations: 11.36 kB / 1.025 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.6115, allocations: 6.281 kB / 1.025 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.422e-05/0.6115, allocations: 165.2 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.6116, allocations: 7.547 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.6116, allocations: 7.875 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.273e-05/0.6117, allocations: 37.55 kB / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.6117, allocations: 192 / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.6117, allocations: 6.734 kB / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6117, allocations: 1.641 kB / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.583e-05/0.6117, allocations: 4.375 kB / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.6119, allocations: 153.5 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.561e-05/0.6119, allocations: 29.16 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.612, allocations: 20.09 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.612, allocations: 0 / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.6121, allocations: 57.36 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.6121, allocations: 0 / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001764/0.6123, allocations: 69.41 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.6123, allocations: 61.19 kB / 1.025 GB, free: 56.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.049e-05/0.6124, allocations: 94.88 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.6124, allocations: 30.86 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.349e-05/0.6124, allocations: 82.03 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.6124, allocations: 11.19 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.6125, allocations: 1.031 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.184e-05/0.6125, allocations: 318.8 kB / 1.026 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.6125, allocations: 5.328 kB / 1.026 GB, free: 55.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.891e-05/0.6126, allocations: 33.23 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.966e-05/0.6126, allocations: 47.12 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6126, allocations: 1.719 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.607e-05/0.6127, allocations: 71.73 kB / 1.026 GB, free: 55.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.6128, allocations: 12.64 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.6128, allocations: 3.938 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.6128, allocations: 5.531 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.663e-05/0.6128, allocations: 9.797 kB / 1.026 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.6129, allocations: 1.375 kB / 1.026 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.6129, allocations: 2.016 kB / 1.026 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.6129, allocations: 5.5 kB / 1.026 GB, free: 55.58 MB / 0.698 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 4.929e-05/0.6129, allocations: 119.2 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.613, allocations: 5 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.613, allocations: 5.859 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.613, allocations: 0.9688 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.613, allocations: 0 / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.613, allocations: 1.656 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.428e-05/0.6131, allocations: 153.9 kB / 1.026 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6131, allocations: 0.9062 kB / 1.026 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.227e-05/0.6131, allocations: 3.312 kB / 1.026 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6131, allocations: 3.938 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.6131, allocations: 2.422 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6131, allocations: 2.672 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6131, allocations: 0 / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.6133, allocations: 92.31 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.6133, allocations: 78.45 kB / 1.026 GB, free: 55.08 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.6133, allocations: 6.172 kB / 1.026 GB, free: 55.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.982e-05/0.6133, allocations: 9.047 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.6134, allocations: 2.562 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.6134, allocations: 5.156 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.725e-05/0.6134, allocations: 78.89 kB / 1.026 GB, free: 54.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6134, allocations: 0 / 1.026 GB, free: 54.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002282/0.6136, allocations: 26.83 kB / 1.026 GB, free: 54.99 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: 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.0002914/0.6139, allocations: 171 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.393e-05/0.614, allocations: 29.17 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.614, allocations: 0 / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.6141, allocations: 12.62 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.6142, allocations: 2.891 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001916/0.6144, allocations: 107 kB / 1.027 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.219e-05/0.6145, allocations: 0.6803 MB / 1.027 GB, free: 54.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.6145, allocations: 2.797 kB / 1.027 GB, free: 54.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.311e-05/0.6145, allocations: 10.72 kB / 1.027 GB, free: 54.05 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.6145, allocations: 0 / 1.027 GB, free: 54.05 MB / 0.698 GB Notification: Performance of Templates: time 0.002798/0.6173, allocations: 0.9363 MB / 1.028 GB, free: 53.95 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)