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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01543/0.01543, allocations: 107.5 kB / 15.06 MB, free: 5.555 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.001751/0.001751, allocations: 181.8 kB / 15.95 MB, free: 5.52 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.085/2.085, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.344/2.344, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.000471, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7111, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001378/0.7126, allocations: 0.9358 MB / 0.6843 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000985/0.7136, allocations: 431 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.7136, allocations: 0 / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.7136, allocations: 0 / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.091e-05/0.7137, allocations: 2.016 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.7142, allocations: 88.5 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.522e-05/0.7143, allocations: 14.91 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.7144, allocations: 5.891 kB / 0.6849 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.7144, allocations: 18.19 kB / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.228e-05/0.7144, allocations: 5.594 kB / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.7145, allocations: 1.344 kB / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.7147, allocations: 85.39 kB / 0.685 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.7147, allocations: 2.531 kB / 0.685 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.7148, allocations: 28.92 kB / 0.685 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.7149, allocations: 66.08 kB / 0.6851 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.715, allocations: 0 / 0.6851 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/0.715, allocations: 0 / 0.6851 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.715, allocations: 4 kB / 0.6851 GB, free: 15.66 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.0004201/0.7154, allocations: 376 kB / 0.6854 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.7155, allocations: 9.75 kB / 0.6854 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.028e-05/0.7155, allocations: 32.16 kB / 0.6855 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.7156, allocations: 2.875 kB / 0.6855 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.612e-05/0.7157, allocations: 173.1 kB / 0.6856 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.7157, allocations: 6.172 kB / 0.6856 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.7157, allocations: 2.281 kB / 0.6856 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.7159, allocations: 45.83 kB / 0.6857 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7159, allocations: 1.25 kB / 0.6857 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.7159, allocations: 0 / 0.6857 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.7159, allocations: 1.312 kB / 0.6857 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.716, allocations: 9.797 kB / 0.6857 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.7163, allocations: 253.4 kB / 0.6859 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.7164, allocations: 37.05 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.7164, allocations: 1.125 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.7166, allocations: 63.17 kB / 0.686 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.893e-06/0.7166, allocations: 0 / 0.686 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0002616/0.7169, allocations: 73.03 kB / 0.6861 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.717, allocations: 53.52 kB / 0.6861 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.337e-05/0.717, allocations: 116.5 kB / 0.6863 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.7171, allocations: 26.45 kB / 0.6863 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.7171, allocations: 82.44 kB / 0.6864 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.7171, allocations: 14.58 kB / 0.6864 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.7171, allocations: 0 / 0.6864 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.147e-05/0.7172, allocations: 318.2 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.919e-05/0.7172, allocations: 6.484 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.7173, allocations: 37.66 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.7174, allocations: 13.16 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7174, allocations: 4.453 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001468/0.7175, allocations: 68.38 kB / 0.6868 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.7175, allocations: 9.656 kB / 0.6868 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7176, allocations: 1.562 kB / 0.6868 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.7176, allocations: 1.094 kB / 0.6868 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.7177, allocations: 8.688 kB / 0.6868 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.7177, allocations: 11.48 kB / 0.6868 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/0.7177, allocations: 17.17 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.7178, allocations: 2.859 kB / 0.6869 GB, free: 13.83 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.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 6.634e-05/0.7178, allocations: 113.6 kB / 0.687 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.7179, allocations: 6.031 kB / 0.687 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.7179, allocations: 6.859 kB / 0.687 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.7179, allocations: 3.984 kB / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.718, allocations: 1.625 kB / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.718, allocations: 4.609 kB / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.7182, allocations: 301.8 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7183, allocations: 0 / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.7183, allocations: 8.297 kB / 0.6873 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.7183, allocations: 0 / 0.6873 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.7183, allocations: 6.141 kB / 0.6873 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.7183, allocations: 3.984 kB / 0.6873 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7184, allocations: 0.7031 kB / 0.6873 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.7185, allocations: 167.4 kB / 0.6874 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.7186, allocations: 77.11 kB / 0.6875 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.7186, allocations: 1.906 kB / 0.6875 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.7187, allocations: 5.609 kB / 0.6875 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.7187, allocations: 3.094 kB / 0.6875 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.7187, allocations: 1.938 kB / 0.6875 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.7188, allocations: 86.11 kB / 0.6876 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.8e-07/0.7188, allocations: 0 / 0.6876 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004023/0.7192, allocations: 34.89 kB / 0.6876 GB, free: 13.03 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,$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.0007451/0.72, allocations: 0.7811 MB / 0.6884 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.7201, allocations: 34.75 kB / 0.6884 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7201, allocations: 0 / 0.6884 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.7202, allocations: 20.19 kB / 0.6885 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.7204, allocations: 1.5 kB / 0.6885 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.7211, allocations: 0.8124 MB / 0.6893 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.7212, allocations: 0.6818 MB / 0.6899 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.023e-05/0.7213, allocations: 3.719 kB / 0.6899 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.7213, allocations: 19.64 kB / 0.6899 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.7213, allocations: 0 / 0.6899 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.7478, allocations: 1.827 MB / 0.6917 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.748, allocations: 241 kB / 0.692 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/3.058, allocations: 0 / 0.692 GB, free: 10.28 MB / 0.5261 GB