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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.6/4.6, allocations: 433.2 MB / 440.7 MB, free: 4.531 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.595e-05, allocations: 1.344 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2275, allocations: 98.73 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2346/0.4622, allocations: 124.2 MB / 0.7502 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.4625, allocations: 71.97 kB / 0.7502 GB, free: 12.72 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01078/0.4733, allocations: 2.314 MB / 0.7525 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4734, allocations: 0 / 0.7525 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.4734, allocations: 0 / 0.7525 GB, free: 10.39 MB / 0.6355 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.000596/0.474, allocations: 392.1 kB / 0.7529 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.4741, allocations: 8.031 kB / 0.7529 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.4741, allocations: 11.94 kB / 0.7529 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.4743, allocations: 166.9 kB / 0.753 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.4743, allocations: 0 / 0.753 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.4744, allocations: 7.984 kB / 0.7531 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.811e-05/0.4744, allocations: 4 kB / 0.7531 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.082e-05/0.4745, allocations: 33.69 kB / 0.7531 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.4746, allocations: 0 / 0.7531 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.4746, allocations: 4 kB / 0.7531 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4746, allocations: 3.953 kB / 0.7531 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.4748, allocations: 134.2 kB / 0.7532 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.4749, allocations: 26.58 kB / 0.7533 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.475, allocations: 16.98 kB / 0.7533 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.475, allocations: 3.938 kB / 0.7533 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.4752, allocations: 55.41 kB / 0.7533 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.415e-06/0.4752, allocations: 0 / 0.7533 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002212/0.4754, allocations: 53.69 kB / 0.7534 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4755, allocations: 55.41 kB / 0.7534 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.181e-05/0.4756, allocations: 100.9 kB / 0.7535 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.4756, allocations: 25.7 kB / 0.7536 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.4757, allocations: 84.14 kB / 0.7536 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.4757, allocations: 15.75 kB / 0.7536 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.4757, allocations: 4 kB / 0.7537 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4759, allocations: 318.8 kB / 0.754 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.4759, allocations: 4 kB / 0.754 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/0.476, allocations: 35.98 kB / 0.754 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.292e-05/0.4761, allocations: 11.98 kB / 0.754 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4761, allocations: 4 kB / 0.754 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001415/0.4762, allocations: 61.62 kB / 0.7541 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4763, allocations: 7.938 kB / 0.7541 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4763, allocations: 0 / 0.7541 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.4763, allocations: 4 kB / 0.7541 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.4764, allocations: 4 kB / 0.7541 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.4764, allocations: 4 kB / 0.7541 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/0.4765, allocations: 0 / 0.7541 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.4765, allocations: 4 kB / 0.7541 GB, free: 8.543 MB / 0.6355 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 () * 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 0.0001103/0.4766, allocations: 117.2 kB / 0.7542 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001315/0.4768, allocations: 57.59 kB / 0.7543 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.4768, allocations: 8 kB / 0.7543 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.4769, allocations: 8.344 kB / 0.7543 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4769, allocations: 144 / 0.7543 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4769, allocations: 3.984 kB / 0.7543 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4769, allocations: 0 / 0.7543 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.4771, allocations: 138.2 kB / 0.7544 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4771, allocations: 0 / 0.7544 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.4771, allocations: 8 kB / 0.7544 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4771, allocations: 0 / 0.7544 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4771, allocations: 0 / 0.7544 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4772, allocations: 0 / 0.7544 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.4772, allocations: 3.938 kB / 0.7544 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.4773, allocations: 92.97 kB / 0.7545 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.4774, allocations: 77.11 kB / 0.7546 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.4774, allocations: 0 / 0.7546 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.63e-05/0.4775, allocations: 7.938 kB / 0.7546 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.4775, allocations: 4 kB / 0.7546 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4775, allocations: 3.984 kB / 0.7546 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.4776, allocations: 83.28 kB / 0.7547 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4776, allocations: 0 / 0.7547 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004196/0.478, allocations: 47.94 kB / 0.7547 GB, free: 7.809 MB / 0.6355 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 () * 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.0009595/0.479, allocations: 0.7208 MB / 0.7554 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.4792, allocations: 23.94 kB / 0.7554 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4792, allocations: 0 / 0.7554 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.4792, allocations: 12 kB / 0.7555 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.4794, allocations: 4.188 kB / 0.7555 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.4799, allocations: 126.9 kB / 0.7556 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.4802, allocations: 0.6807 MB / 0.7562 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.135e-05/0.4803, allocations: 0 / 0.7562 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.4803, allocations: 11.44 kB / 0.7563 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/0.4803, allocations: 0 / 0.7563 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04055/0.5209, allocations: 1.68 MB / 0.7579 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003271/0.5213, allocations: 188.3 kB / 0.7581 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.016, allocations: 3.938 kB / 0.7581 GB, free: 4.27 MB / 0.6355 GB