Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01382/0.01383, allocations: 90.02 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.00188/0.00188, allocations: 169.4 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.489/2.489, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.422/2.422, allocations: 252.9 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000732/0.0007323, allocations: 11.41 kB / 0.6243 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2306, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00166/0.2323, allocations: 0.9491 MB / 0.729 GB, free: 9.207 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2335, allocations: 425.9 kB / 0.7294 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.2335, allocations: 0 / 0.7294 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.2335, allocations: 0 / 0.7294 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.011e-05/0.2336, allocations: 3.984 kB / 0.7294 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.2342, allocations: 83.72 kB / 0.7295 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.9e-05/0.2343, allocations: 11.98 kB / 0.7295 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.2343, allocations: 7.984 kB / 0.7295 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.908e-05/0.2344, allocations: 8 kB / 0.7295 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.561e-05/0.2344, allocations: 15.86 kB / 0.7295 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2344, allocations: 0 / 0.7295 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.2347, allocations: 83.84 kB / 0.7296 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.2347, allocations: 11.94 kB / 0.7296 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.2348, allocations: 25.7 kB / 0.7296 GB, free: 8.535 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.235, allocations: 67.89 kB / 0.7297 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.235, allocations: 0 / 0.7297 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.623e-06/0.235, allocations: 4 kB / 0.7297 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.235, allocations: 0 / 0.7297 GB, free: 8.465 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005229/0.2355, allocations: 373.3 kB / 0.7301 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2356, allocations: 12.03 kB / 0.7301 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.021e-05/0.2357, allocations: 42.45 kB / 0.7301 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.2357, allocations: 7.938 kB / 0.7301 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.2359, allocations: 163 kB / 0.7303 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.2359, allocations: 3.938 kB / 0.7303 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.2359, allocations: 4 kB / 0.7303 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.2361, allocations: 49.67 kB / 0.7303 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2361, allocations: 0 / 0.7303 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2361, allocations: 0 / 0.7303 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2361, allocations: 0 / 0.7303 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.678e-05/0.2362, allocations: 12 kB / 0.7303 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.2366, allocations: 252.9 kB / 0.7306 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.768e-05/0.2367, allocations: 38.5 kB / 0.7306 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.2368, allocations: 0 / 0.7306 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.237, allocations: 55.53 kB / 0.7307 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 1.744e-06/0.237, allocations: 0 / 0.7307 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0003221/0.2373, allocations: 85.7 kB / 0.7308 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.2374, allocations: 51.41 kB / 0.7308 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.2375, allocations: 117.9 kB / 0.7309 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.2375, allocations: 29.7 kB / 0.7309 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.2376, allocations: 80.14 kB / 0.731 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.2376, allocations: 23.73 kB / 0.731 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-06/0.2376, allocations: 0 / 0.731 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2378, allocations: 314.8 kB / 0.7313 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.391e-05/0.2378, allocations: 8 kB / 0.7314 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.2379, allocations: 44.28 kB / 0.7314 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.581e-05/0.238, allocations: 16.17 kB / 0.7314 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.238, allocations: 3.938 kB / 0.7314 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001827/0.2382, allocations: 85.45 kB / 0.7315 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.2382, allocations: 8 kB / 0.7315 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2382, allocations: 0 / 0.7315 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.2383, allocations: 4.094 kB / 0.7315 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.2384, allocations: 19.92 kB / 0.7315 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2384, allocations: 0 / 0.7315 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.2385, allocations: 7.953 kB / 0.7315 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.2385, allocations: 0 / 0.7315 GB, free: 6.344 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_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 0.0001066/0.2386, allocations: 113.8 kB / 0.7316 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.2387, allocations: 7.938 kB / 0.7316 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.2387, allocations: 3.969 kB / 0.7317 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2387, allocations: 0 / 0.7317 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.2387, allocations: 7.984 kB / 0.7317 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2388, allocations: 0 / 0.7317 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.2392, allocations: 318.4 kB / 0.732 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2392, allocations: 0 / 0.732 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.2392, allocations: 4 kB / 0.732 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.2393, allocations: 0 / 0.732 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2393, allocations: 4 kB / 0.732 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2393, allocations: 0 / 0.732 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2393, allocations: 0 / 0.732 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.2396, allocations: 179.4 kB / 0.7321 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.2396, allocations: 77.11 kB / 0.7322 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.2396, allocations: 384 / 0.7322 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.2397, allocations: 4 kB / 0.7322 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.2398, allocations: 3.984 kB / 0.7322 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.2398, allocations: 8 kB / 0.7322 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.657e-05/0.2399, allocations: 83.23 kB / 0.7323 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2399, allocations: 4 kB / 0.7323 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004193/0.2403, allocations: 35.98 kB / 0.7323 GB, free: 5.402 MB / 0.5573 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0009959/0.2413, allocations: 0.7733 MB / 0.7331 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001682/0.2415, allocations: 39.92 kB / 0.7331 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2415, allocations: 3.938 kB / 0.7331 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.2416, allocations: 23.92 kB / 0.7332 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.2418, allocations: 4 kB / 0.7332 GB, free: 4.547 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2428, allocations: 0.9652 MB / 0.7341 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.2432, allocations: 0.6848 MB / 0.7348 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.464e-05/0.2432, allocations: 11.97 kB / 0.7348 GB, free: 2.797 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.2433, allocations: 11.44 kB / 0.7348 GB, free: 2.785 MB / 0.5573 GB Notification: Performance of SimCode: time 3.116e-06/0.2433, allocations: 0 / 0.7348 GB, free: 2.785 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.2684, allocations: 1.841 MB / 0.7366 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003125/0.2687, allocations: 231.9 kB / 0.7368 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/2.934, allocations: 0 / 0.7368 GB, free: 0.8008 MB / 0.5573 GB