Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.974/1.974, allocations: 306.1 MB / 321.4 MB, free: 10.72 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.001108/0.001108, allocations: 171.3 kB / 393.1 MB, free: 4.074 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.48/1.48, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0008138/0.0008138, allocations: 94.5 kB / 0.7935 GB, free: 39.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003326, allocations: 12 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.588/0.5883, allocations: 121.3 MB / 1.041 GB, free: 58.01 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001214/0.5896, allocations: 0.9421 MB / 1.042 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007632/0.5904, allocations: 0.6614 MB / 1.042 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.5904, allocations: 0 / 1.042 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.5904, allocations: 0 / 1.042 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.504e-05/0.5905, allocations: 0.5312 kB / 1.042 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.5909, allocations: 85.03 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.833e-05/0.591, allocations: 15.28 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.591, allocations: 1.375 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.196e-05/0.591, allocations: 8.719 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.005e-05/0.5911, allocations: 5.156 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.5911, allocations: 2.906 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.5913, allocations: 80.56 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.5913, allocations: 11.31 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.5914, allocations: 36.08 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.5916, allocations: 86.45 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5916, allocations: 0 / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5916, allocations: 1.375 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.5916, allocations: 0 / 1.043 GB, free: 56.64 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.0003875/0.592, allocations: 361.9 kB / 1.043 GB, free: 56.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.592, allocations: 9.625 kB / 1.043 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.5921, allocations: 3.25 kB / 1.043 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.619e-05/0.5921, allocations: 169.4 kB / 1.043 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.5922, allocations: 2.375 kB / 1.043 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.5922, allocations: 1.75 kB / 1.043 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.077e-05/0.5923, allocations: 43.11 kB / 1.043 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.5923, allocations: 192 / 1.043 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.5923, allocations: 5.281 kB / 1.043 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5923, allocations: 2.828 kB / 1.043 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.715e-05/0.5924, allocations: 6.75 kB / 1.043 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.5925, allocations: 154.8 kB / 1.043 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.105e-05/0.5926, allocations: 31.83 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.5926, allocations: 17.95 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.5926, allocations: 3.672 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.5928, allocations: 54.56 kB / 1.044 GB, free: 55.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.5928, allocations: 0 / 1.044 GB, free: 55.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001803/0.593, allocations: 72.92 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.593, allocations: 52.16 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.002e-05/0.5931, allocations: 100.8 kB / 1.044 GB, free: 55.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.5931, allocations: 31.14 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.827e-05/0.5931, allocations: 88.73 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.5931, allocations: 9.641 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.5931, allocations: 6.031 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.311e-05/0.5932, allocations: 316.1 kB / 1.044 GB, free: 55.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.5932, allocations: 5.281 kB / 1.044 GB, free: 55.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.5932, allocations: 36.27 kB / 1.044 GB, free: 55.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.5933, allocations: 44.22 kB / 1.044 GB, free: 54.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5933, allocations: 0 / 1.044 GB, free: 54.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.766e-05/0.5934, allocations: 70.05 kB / 1.044 GB, free: 54.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.5934, allocations: 14.56 kB / 1.044 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.5934, allocations: 1.25 kB / 1.044 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5934, allocations: 2.344 kB / 1.044 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.5935, allocations: 9.891 kB / 1.044 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5935, allocations: 3.234 kB / 1.044 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.277e-05/0.5935, allocations: 3.438 kB / 1.044 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.5936, allocations: 2.906 kB / 1.044 GB, free: 54.93 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 5.501e-05/0.5936, allocations: 116 kB / 1.045 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.5936, allocations: 12.3 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.5937, allocations: 4.281 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.5937, allocations: 0.5312 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5937, allocations: 0 / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5937, allocations: 0.6875 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.475e-05/0.5938, allocations: 152.4 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5938, allocations: 2.469 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.5938, allocations: 1.25 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5938, allocations: 10.86 kB / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.5938, allocations: 3.047 kB / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5938, allocations: 0 / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5938, allocations: 2.469 kB / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.5939, allocations: 81.53 kB / 1.045 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.594, allocations: 82.28 kB / 1.045 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.594, allocations: 9.031 kB / 1.045 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.073e-05/0.594, allocations: 5.344 kB / 1.045 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.594, allocations: 4.938 kB / 1.045 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.5941, allocations: 5 kB / 1.045 GB, free: 54.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.802e-05/0.5941, allocations: 82.25 kB / 1.045 GB, free: 54.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5941, allocations: 0 / 1.045 GB, free: 54.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002237/0.5943, allocations: 24.5 kB / 1.045 GB, free: 54.34 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.0002917/0.5946, allocations: 173.6 kB / 1.045 GB, free: 54.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.255e-05/0.5947, allocations: 25.55 kB / 1.045 GB, free: 54.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5947, allocations: 0 / 1.045 GB, free: 54.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.299e-05/0.5948, allocations: 12.61 kB / 1.045 GB, free: 54.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.5949, allocations: 3.781 kB / 1.045 GB, free: 54.22 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001999/0.5951, allocations: 113.1 kB / 1.045 GB, free: 54.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.104e-05/0.5952, allocations: 0.6815 MB / 1.046 GB, free: 53.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.115e-05/0.5952, allocations: 3.047 kB / 1.046 GB, free: 53.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/0.5952, allocations: 9.438 kB / 1.046 GB, free: 53.39 MB / 0.698 GB Notification: Performance of SimCode: time 8.52e-07/0.5952, allocations: 0 / 1.046 GB, free: 53.39 MB / 0.698 GB Notification: Performance of Templates: time 0.002932/0.5982, allocations: 0.9396 MB / 1.047 GB, free: 53.27 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)