Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008927/0.008927, allocations: 108.5 kB / 15.06 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001108/0.001108, allocations: 180.4 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.042/2.042, allocations: 194.5 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.567/2.567, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004709, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.5427, allocations: 98.71 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001137/0.5438, allocations: 0.9395 MB / 0.6842 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008416/0.5447, allocations: 434.3 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.5448, allocations: 0 / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.5448, allocations: 0 / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 2.936e-05/0.5448, allocations: 1.938 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.5453, allocations: 87.88 kB / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.5454, allocations: 16.62 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.5454, allocations: 1.156 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.5454, allocations: 11.08 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 2.955e-05/0.5455, allocations: 4.797 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.5455, allocations: 6.125 kB / 0.6848 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.5457, allocations: 83.66 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.5458, allocations: 7.297 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.5458, allocations: 28.23 kB / 0.6849 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.546, allocations: 70.02 kB / 0.685 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.546, allocations: 0 / 0.685 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.786e-06/0.546, allocations: 1.312 kB / 0.685 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.258e-06/0.546, allocations: 0 / 0.685 GB, free: 15.63 MB / 0.5261 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.0003806/0.5464, allocations: 370.8 kB / 0.6853 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.5464, allocations: 9.125 kB / 0.6853 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.5465, allocations: 6.844 kB / 0.6853 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.422e-05/0.5466, allocations: 173.6 kB / 0.6855 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.5466, allocations: 5.438 kB / 0.6855 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.5466, allocations: 7.219 kB / 0.6855 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5467, allocations: 35.91 kB / 0.6855 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.482e-06/0.5468, allocations: 3.938 kB / 0.6855 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.561e-06/0.5468, allocations: 1.562 kB / 0.6856 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-06/0.5468, allocations: 4 kB / 0.6856 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.962e-05/0.5468, allocations: 5.25 kB / 0.6856 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.547, allocations: 164.5 kB / 0.6857 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.658e-05/0.5471, allocations: 31.56 kB / 0.6857 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.888e-06/0.5471, allocations: 5.5 kB / 0.6858 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.5473, allocations: 55.11 kB / 0.6858 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.398e-06/0.5473, allocations: 0 / 0.6858 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002261/0.5475, allocations: 68.14 kB / 0.6859 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.5476, allocations: 57.42 kB / 0.6859 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.5476, allocations: 104.9 kB / 0.686 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.5477, allocations: 29.7 kB / 0.6861 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.5477, allocations: 82.64 kB / 0.6861 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.5477, allocations: 11.2 kB / 0.6861 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.5477, allocations: 0 / 0.6861 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.5478, allocations: 322.1 kB / 0.6864 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.5478, allocations: 5.172 kB / 0.6865 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.5479, allocations: 32.22 kB / 0.6865 GB, free: 14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.5479, allocations: 19.75 kB / 0.6865 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.087e-06/0.5479, allocations: 0.9062 kB / 0.6865 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001297/0.5481, allocations: 69.53 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5481, allocations: 4.812 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.711e-06/0.5481, allocations: 1.75 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.5482, allocations: 2.375 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.688e-05/0.5482, allocations: 7.562 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.588e-06/0.5483, allocations: 6.266 kB / 0.6866 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.672e-05/0.5483, allocations: 8.938 kB / 0.6866 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.5483, allocations: 2.688 kB / 0.6866 GB, free: 13.93 MB / 0.5261 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 6.521e-05/0.5484, allocations: 121.6 kB / 0.6867 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.5484, allocations: 2.812 kB / 0.6867 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.5485, allocations: 5.125 kB / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.449e-06/0.5485, allocations: 1.688 kB / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.864e-06/0.5485, allocations: 0 / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.663e-06/0.5485, allocations: 4.594 kB / 0.6867 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.616e-05/0.5486, allocations: 167.4 kB / 0.6869 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-06/0.5486, allocations: 0 / 0.6869 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.5486, allocations: 3.109 kB / 0.6869 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.172e-06/0.5487, allocations: 0 / 0.6869 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.5487, allocations: 2.359 kB / 0.6869 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.197e-06/0.5487, allocations: 0 / 0.6869 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.925e-06/0.5487, allocations: 1.531 kB / 0.6869 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.5489, allocations: 86 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.5489, allocations: 86.78 kB / 0.6871 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.5489, allocations: 2.484 kB / 0.6871 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.335e-05/0.549, allocations: 4.25 kB / 0.6871 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.549, allocations: 1.844 kB / 0.6871 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.549, allocations: 6.953 kB / 0.6871 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.5491, allocations: 81.12 kB / 0.6872 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.29e-07/0.5491, allocations: 0 / 0.6872 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003519/0.5494, allocations: 33.42 kB / 0.6872 GB, free: 13.32 MB / 0.5261 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.0003807/0.5498, allocations: 180.8 kB / 0.6874 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.55, allocations: 28.61 kB / 0.6874 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.718e-06/0.55, allocations: 0 / 0.6874 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.996e-05/0.55, allocations: 13.17 kB / 0.6874 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.5502, allocations: 6.031 kB / 0.6874 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.5505, allocations: 131.2 kB / 0.6875 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.5506, allocations: 0.681 MB / 0.6882 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.744e-05/0.5507, allocations: 3.406 kB / 0.6882 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.5507, allocations: 8.75 kB / 0.6882 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.356e-06/0.5507, allocations: 1.375 kB / 0.6882 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.004245/0.5549, allocations: 1.035 MB / 0.6892 GB, free: 12.23 MB / 0.5261 GB