Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadModel(Buildings): time 4.056/4.056, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.901e-05, allocations: 6.953 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2267, allocations: 98.72 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2113/0.4381, allocations: 124.7 MB / 0.7565 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4383, allocations: 67.97 kB / 0.7565 GB, free: 5.016 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.009498/0.4479, allocations: 2.147 MB / 0.7586 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.012e-06/0.4479, allocations: 4 kB / 0.7586 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.441e-06/0.4479, allocations: 0 / 0.7586 GB, free: 2.859 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.0004545/0.4484, allocations: 376 kB / 0.759 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4484, allocations: 12.03 kB / 0.759 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.4485, allocations: 7.938 kB / 0.759 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.4486, allocations: 175 kB / 0.7592 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.4487, allocations: 0 / 0.7592 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.4487, allocations: 0 / 0.7592 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.4488, allocations: 37.69 kB / 0.7592 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.782e-06/0.4488, allocations: 3.984 kB / 0.7592 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.423e-06/0.4489, allocations: 0 / 0.7592 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-06/0.4489, allocations: 0 / 0.7592 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.281e-05/0.4489, allocations: 12 kB / 0.7592 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.4491, allocations: 161.7 kB / 0.7594 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.4492, allocations: 30.52 kB / 0.7594 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.4493, allocations: 8.859 kB / 0.7594 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.4493, allocations: 4 kB / 0.7594 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.4495, allocations: 59.48 kB / 0.7595 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.545e-06/0.4495, allocations: 0 / 0.7595 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001805/0.4497, allocations: 57.59 kB / 0.7595 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.4497, allocations: 59.33 kB / 0.7596 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/0.4498, allocations: 96.94 kB / 0.7597 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.4499, allocations: 33.69 kB / 0.7597 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.4499, allocations: 84.14 kB / 0.7598 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.45, allocations: 3.906 kB / 0.7598 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-06/0.45, allocations: 0 / 0.7598 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4502, allocations: 326.8 kB / 0.7601 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.4502, allocations: 4 kB / 0.7601 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-05/0.4503, allocations: 35.42 kB / 0.7601 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.5e-05/0.4503, allocations: 5.812 kB / 0.7602 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.671e-06/0.4503, allocations: 8 kB / 0.7602 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001458/0.4505, allocations: 69.47 kB / 0.7602 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4505, allocations: 8 kB / 0.7602 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.141e-06/0.4505, allocations: 0 / 0.7602 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4505, allocations: 0 / 0.7602 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.4506, allocations: 11.98 kB / 0.7602 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.275e-06/0.4506, allocations: 0 / 0.7602 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.4507, allocations: 7.938 kB / 0.7603 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.161e-06/0.4507, allocations: 0 / 0.7603 GB, free: 0.9648 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 9.795e-05/0.4508, allocations: 117 kB / 0.7604 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.4508, allocations: 0 / 0.7604 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.4509, allocations: 11.44 kB / 0.7604 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-06/0.4509, allocations: 0 / 0.7604 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.547e-06/0.4509, allocations: 3.984 kB / 0.7604 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.038e-06/0.4509, allocations: 288 / 0.7604 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.4511, allocations: 161.6 kB / 0.7605 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-06/0.4511, allocations: 0 / 0.7605 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.4511, allocations: 4 kB / 0.7605 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.35e-06/0.4511, allocations: 3.984 kB / 0.7605 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.323e-06/0.4512, allocations: 4 kB / 0.7605 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.133e-06/0.4512, allocations: 0 / 0.7605 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-06/0.4512, allocations: 0 / 0.7605 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.4514, allocations: 92.97 kB / 0.7606 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.4514, allocations: 77.11 kB / 0.7607 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.4515, allocations: 0 / 0.7607 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.492e-05/0.4515, allocations: 0 / 0.7607 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.4515, allocations: 15.92 kB / 0.7607 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.4516, allocations: 4 kB / 0.7607 GB, free: 396 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.7e-05/0.4516, allocations: 83.28 kB / 0.7608 GB, free: 312 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7.39e-07/0.4516, allocations: 0 / 0.7608 GB, free: 312 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003764/0.452, allocations: 43.98 kB / 0.7608 GB, free: 268 kB / 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.0004326/0.4525, allocations: 167.5 kB / 0.761 GB, free: 104 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.4526, allocations: 31.94 kB / 0.761 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.45e-06/0.4526, allocations: 0 / 0.761 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.4527, allocations: 15.98 kB / 0.7611 GB, free: 56 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.4528, allocations: 3.953 kB / 0.7611 GB, free: 52 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.453, allocations: 67.39 kB / 0.7611 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.4534, allocations: 0.6774 MB / 0.7618 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.4535, allocations: 4.188 kB / 0.7618 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.4535, allocations: 11.44 kB / 0.7618 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.404e-06/0.4535, allocations: 0 / 0.7618 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of Templates: time 0.004368/0.4579, allocations: 1.195 MB / 0.763 GB, free: 14.05 MB / 0.6511 GB