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.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.00988/0.009883, allocations: 92.88 kB / 15.04 MB, free: 6.059 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.001141/0.001141, allocations: 172.9 kB / 15.92 MB, free: 5.996 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.167/2.167, 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.595/2.595, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006534/0.0006534, allocations: 15.78 kB / 0.6243 GB, free: 28.46 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.26, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001597/0.2616, allocations: 0.9452 MB / 0.729 GB, free: 9.195 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.2627, allocations: 441.9 kB / 0.7294 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.2628, allocations: 0 / 0.7294 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.37e-05/0.2628, allocations: 0 / 0.7294 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.843e-05/0.2628, allocations: 3.984 kB / 0.7294 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.2634, allocations: 87.7 kB / 0.7295 GB, free: 8.672 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.102e-05/0.2634, allocations: 8 kB / 0.7295 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.2635, allocations: 7.984 kB / 0.7295 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.99e-05/0.2635, allocations: 19.86 kB / 0.7295 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.831e-05/0.2636, allocations: 0 / 0.7295 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2636, allocations: 4 kB / 0.7295 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.2639, allocations: 83.84 kB / 0.7296 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.2639, allocations: 0 / 0.7296 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.2639, allocations: 29.7 kB / 0.7296 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.2641, allocations: 63.91 kB / 0.7297 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2641, allocations: 0 / 0.7297 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2641, allocations: 0 / 0.7297 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2642, allocations: 4 kB / 0.7297 GB, free: 8.449 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005019/0.2647, allocations: 389.2 kB / 0.7301 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2647, allocations: 8.031 kB / 0.7301 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.4e-05/0.2648, allocations: 34.47 kB / 0.7301 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.2648, allocations: 7.984 kB / 0.7301 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.265, allocations: 171 kB / 0.7303 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.265, allocations: 4 kB / 0.7303 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.265, allocations: 4 kB / 0.7303 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.2652, allocations: 41.69 kB / 0.7303 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2652, allocations: 0 / 0.7303 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.2652, allocations: 0 / 0.7303 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2652, allocations: 3.984 kB / 0.7303 GB, free: 7.691 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.972e-05/0.2653, allocations: 8 kB / 0.7303 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.2657, allocations: 248.9 kB / 0.7306 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.2658, allocations: 38.56 kB / 0.7306 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.2659, allocations: 0 / 0.7306 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.266, allocations: 63.5 kB / 0.7307 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 4.648e-06/0.2661, allocations: 3.984 kB / 0.7307 GB, free: 7.266 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.000287/0.2664, allocations: 77.52 kB / 0.7308 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.2664, allocations: 51.41 kB / 0.7308 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2665, allocations: 113.8 kB / 0.7309 GB, free: 7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.2666, allocations: 29.7 kB / 0.7309 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.2666, allocations: 84.14 kB / 0.731 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.2666, allocations: 19.73 kB / 0.731 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.2667, allocations: 0 / 0.731 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2668, allocations: 318.8 kB / 0.7313 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.2668, allocations: 4 kB / 0.7313 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.2669, allocations: 35.42 kB / 0.7314 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.806e-05/0.267, allocations: 16 kB / 0.7314 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.267, allocations: 3.938 kB / 0.7314 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001564/0.2671, allocations: 69.61 kB / 0.7315 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2672, allocations: 4 kB / 0.7315 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2672, allocations: 4 kB / 0.7315 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2672, allocations: 3.938 kB / 0.7315 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.2673, allocations: 8 kB / 0.7315 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2673, allocations: 4.062 kB / 0.7315 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.2674, allocations: 15.86 kB / 0.7315 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.2674, allocations: 3.984 kB / 0.7315 GB, free: 6.352 MB / 0.5573 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.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 (8): * Single equations (assignments): 8 * 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 9.981e-05/0.2675, allocations: 113.8 kB / 0.7316 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.2675, allocations: 7.938 kB / 0.7316 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.2676, allocations: 7.969 kB / 0.7316 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2676, allocations: 0 / 0.7316 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2676, allocations: 0 / 0.7316 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2676, allocations: 0 / 0.7316 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.268, allocations: 302.6 kB / 0.7319 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.268, allocations: 0 / 0.7319 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.2681, allocations: 7.938 kB / 0.7319 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2681, allocations: 0 / 0.7319 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2681, allocations: 0.5625 kB / 0.7319 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.2681, allocations: 7.984 kB / 0.7319 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2681, allocations: 0 / 0.7319 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.2684, allocations: 171.4 kB / 0.7321 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.2684, allocations: 77.11 kB / 0.7322 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.2685, allocations: 0 / 0.7322 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.2685, allocations: 7.984 kB / 0.7322 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.2686, allocations: 4 kB / 0.7322 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.2686, allocations: 0 / 0.7322 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.62e-05/0.2687, allocations: 87.22 kB / 0.7323 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2687, allocations: 4 kB / 0.7323 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003982/0.2691, allocations: 32 kB / 0.7323 GB, free: 5.434 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 (5): * Single equations (assignments): 3 * 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.0009162/0.27, allocations: 0.7914 MB / 0.7331 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.2702, allocations: 27.92 kB / 0.7331 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2702, allocations: 8.125 kB / 0.7331 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/0.2703, allocations: 15.98 kB / 0.7331 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.2704, allocations: 0 / 0.7331 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008694/0.2713, allocations: 0.8136 MB / 0.7339 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.2716, allocations: 0.6809 MB / 0.7346 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.2717, allocations: 4 kB / 0.7346 GB, free: 3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.2717, allocations: 15.42 kB / 0.7346 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/0.2717, allocations: 4 kB / 0.7346 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.292, allocations: 1.827 MB / 0.7364 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000343/0.2924, allocations: 241.5 kB / 0.7366 GB, free: 1.008 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/2.851, allocations: 0 / 0.7366 GB, free: 1.008 MB / 0.5573 GB