Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 292.6 MB / 307.8 MB, free: 7.188 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.001082/0.001082, allocations: 188.2 kB / 376.5 MB, free: 4.527 MB / 298.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.433/1.433, allocations: 225.7 MB / 0.655 GB, free: 13.2 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.0007808/0.0007808, allocations: 103.4 kB / 0.7711 GB, free: 50.4 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004037, allocations: 12 kB / 0.897 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5999/0.6003, allocations: 118.2 MB / 1.012 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001248/0.6016, allocations: 0.9322 MB / 1.013 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006702/0.6023, allocations: 351.5 kB / 1.014 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.6023, allocations: 0 / 1.014 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.6023, allocations: 1.188 kB / 1.014 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.6024, allocations: 5.094 kB / 1.014 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.6028, allocations: 72.94 kB / 1.014 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.07e-05/0.6029, allocations: 15.67 kB / 1.014 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.6029, allocations: 1.156 kB / 1.014 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.181e-05/0.6029, allocations: 5.25 kB / 1.014 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.168e-05/0.603, allocations: 14.16 kB / 1.014 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.603, allocations: 1 kB / 1.014 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.6032, allocations: 77.61 kB / 1.014 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.6032, allocations: 13.12 kB / 1.014 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.6032, allocations: 31.77 kB / 1.014 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.6034, allocations: 58.55 kB / 1.014 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6034, allocations: 0 / 1.014 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6034, allocations: 1.875 kB / 1.014 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.6034, allocations: 2.125 kB / 1.014 GB, free: 57.75 MB / 0.7136 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.0003789/0.6038, allocations: 361.6 kB / 1.014 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.6038, allocations: 11.22 kB / 1.014 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.6039, allocations: 6.062 kB / 1.014 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.604, allocations: 169.3 kB / 1.014 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.604, allocations: 6.906 kB / 1.014 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.6041, allocations: 4 kB / 1.014 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.6042, allocations: 44.75 kB / 1.014 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.6042, allocations: 1.719 kB / 1.014 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.6042, allocations: 3.938 kB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.6042, allocations: 1.25 kB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.863e-05/0.6042, allocations: 2.562 kB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.6044, allocations: 153.7 kB / 1.015 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.171e-05/0.6045, allocations: 35.06 kB / 1.015 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.6045, allocations: 11.02 kB / 1.015 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.6045, allocations: 4.031 kB / 1.015 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.6046, allocations: 59.28 kB / 1.015 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.6047, allocations: 0.9062 kB / 1.015 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001872/0.6048, allocations: 67.05 kB / 1.015 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.6049, allocations: 58.66 kB / 1.015 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.925e-05/0.605, allocations: 95.52 kB / 1.015 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.605, allocations: 30.86 kB / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.605, allocations: 80.14 kB / 1.015 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.605, allocations: 11.77 kB / 1.015 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.605, allocations: 3.938 kB / 1.015 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.6051, allocations: 316.2 kB / 1.015 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.6051, allocations: 4.719 kB / 1.015 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.6052, allocations: 39.39 kB / 1.015 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.977e-05/0.6052, allocations: 46.56 kB / 1.015 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6052, allocations: 0 / 1.015 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.684e-05/0.6053, allocations: 68.16 kB / 1.016 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.6053, allocations: 7.844 kB / 1.016 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6054, allocations: 2.812 kB / 1.016 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.6054, allocations: 6.062 kB / 1.016 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.6055, allocations: 16.5 kB / 1.016 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6055, allocations: 0 / 1.016 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.6055, allocations: 2.75 kB / 1.016 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.6055, allocations: 5.594 kB / 1.016 GB, free: 56.1 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/0.6056, allocations: 112.2 kB / 1.016 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.6056, allocations: 10 kB / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.6056, allocations: 4.281 kB / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.6056, allocations: 0 / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6057, allocations: 5.469 kB / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6057, allocations: 0 / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.337e-05/0.6058, allocations: 151.4 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6058, allocations: 1.812 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/0.6058, allocations: 3.484 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6058, allocations: 4.812 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.6058, allocations: 2.812 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.6058, allocations: 1.188 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6058, allocations: 4.656 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.6059, allocations: 87.36 kB / 1.016 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.606, allocations: 77.83 kB / 1.016 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.606, allocations: 12.53 kB / 1.016 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.606, allocations: 6.031 kB / 1.016 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.6061, allocations: 0 / 1.016 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.6061, allocations: 2.719 kB / 1.016 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.527e-05/0.6061, allocations: 75.28 kB / 1.016 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6061, allocations: 4.375 kB / 1.016 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002375/0.6063, allocations: 33.47 kB / 1.016 GB, free: 55.54 MB / 0.7136 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 (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.0003334/0.6067, allocations: 165.1 kB / 1.016 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.6068, allocations: 27.88 kB / 1.016 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6068, allocations: 3.938 kB / 1.016 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.6068, allocations: 13.47 kB / 1.016 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.607, allocations: 7.297 kB / 1.016 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.6072, allocations: 118.7 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.6074, allocations: 0.6828 MB / 1.017 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.635e-05/0.6074, allocations: 3.344 kB / 1.017 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.6074, allocations: 11.38 kB / 1.017 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.6074, allocations: 0 / 1.017 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.003258/0.6107, allocations: 0.9345 MB / 1.018 GB, free: 54.58 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)