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.Logit1D.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.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009661/0.009661, allocations: 111.2 kB / 15.06 MB, free: 5.98 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.001144/0.001144, allocations: 182.1 kB / 15.94 MB, free: 5.938 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 1.808/1.808, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.312/2.312, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007798/0.00078, allocations: 12 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6277/0.6285, allocations: 98.71 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/0.9313, allocations: 124.9 MB / 0.8053 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.9317, allocations: 75.95 kB / 0.8053 GB, free: 1.352 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.01362/0.9453, allocations: 2.253 MB / 0.8075 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.781e-06/0.9454, allocations: 0 / 0.8075 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.575e-06/0.9454, allocations: 4 kB / 0.8075 GB, free: 15.09 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.0006325/0.946, allocations: 380.9 kB / 0.8079 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.9461, allocations: 8.031 kB / 0.8079 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.9462, allocations: 7.953 kB / 0.8079 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.9464, allocations: 171 kB / 0.8081 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.9464, allocations: 0 / 0.8081 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.9464, allocations: 8 kB / 0.8081 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.9466, allocations: 37.62 kB / 0.8081 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.24e-06/0.9466, allocations: 4 kB / 0.8081 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.9467, allocations: 4 kB / 0.8081 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.4e-06/0.9467, allocations: 4 kB / 0.8081 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.2e-05/0.9468, allocations: 3.984 kB / 0.8081 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.947, allocations: 157.7 kB / 0.8083 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.9472, allocations: 26.58 kB / 0.8083 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.9472, allocations: 0 / 0.8083 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.9474, allocations: 67.42 kB / 0.8084 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.222e-06/0.9475, allocations: 0 / 0.8084 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0003547/0.9478, allocations: 61.67 kB / 0.8084 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.9479, allocations: 55.41 kB / 0.8085 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.948, allocations: 96.94 kB / 0.8086 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.9481, allocations: 25.7 kB / 0.8086 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.9482, allocations: 92.06 kB / 0.8087 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.9482, allocations: 7.906 kB / 0.8087 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-06/0.9483, allocations: 4 kB / 0.8087 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.9485, allocations: 321.2 kB / 0.809 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.9485, allocations: 7.938 kB / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.9486, allocations: 39.36 kB / 0.8091 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.079e-05/0.9487, allocations: 12 kB / 0.8091 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.9487, allocations: 4 kB / 0.8091 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002397/0.949, allocations: 69.52 kB / 0.8092 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.949, allocations: 8 kB / 0.8092 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.9491, allocations: 0 / 0.8092 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.9491, allocations: 3.938 kB / 0.8092 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.9492, allocations: 8.422 kB / 0.8092 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.84e-06/0.9492, allocations: 0 / 0.8092 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.9493, allocations: 4 kB / 0.8092 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.9493, allocations: 0 / 0.8092 GB, free: 13.2 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 () * 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 0.0001403/0.9495, allocations: 121.9 kB / 0.8093 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.9496, allocations: 7.984 kB / 0.8093 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.9496, allocations: 3.5 kB / 0.8093 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.9e-06/0.9496, allocations: 3.984 kB / 0.8093 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.969e-06/0.9496, allocations: 0 / 0.8093 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.9497, allocations: 0 / 0.8093 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.9499, allocations: 165.5 kB / 0.8095 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-06/0.9499, allocations: 0 / 0.8095 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.95, allocations: 7.938 kB / 0.8095 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.092e-06/0.95, allocations: 4 kB / 0.8095 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.95, allocations: 0 / 0.8095 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.012e-06/0.95, allocations: 0 / 0.8095 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.519e-06/0.9501, allocations: 0 / 0.8095 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.9503, allocations: 89.06 kB / 0.8096 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.9504, allocations: 77.11 kB / 0.8096 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.9505, allocations: 3.984 kB / 0.8096 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.416e-05/0.9505, allocations: 0 / 0.8096 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.9506, allocations: 8 kB / 0.8096 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.9506, allocations: 0 / 0.8096 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.614e-05/0.9507, allocations: 83.28 kB / 0.8097 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.61e-07/0.9507, allocations: 0 / 0.8097 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006894/0.9514, allocations: 51.86 kB / 0.8098 GB, free: 12.48 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 () * 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.0006368/0.9521, allocations: 178.7 kB / 0.8099 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.9523, allocations: 32.11 kB / 0.81 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.9523, allocations: 0 / 0.81 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.9524, allocations: 20.02 kB / 0.81 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.9526, allocations: 3.938 kB / 0.81 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.9531, allocations: 124.7 kB / 0.8101 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.9535, allocations: 0.6811 MB / 0.8108 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.9536, allocations: 4 kB / 0.8108 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.9536, allocations: 7.438 kB / 0.8108 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of SimCode: time 1.912e-06/0.9536, allocations: 0 / 0.8108 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of Templates: time 0.006516/0.9602, allocations: 1.187 MB / 0.812 GB, free: 10.2 MB / 0.6355 GB