Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.724/1.724, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 183.5 kB / 393.1 MB, free: 4.066 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.7 MB / 0.6743 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008284/0.0008283, allocations: 102.2 kB / 0.7935 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 15.56 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6376/0.638, allocations: 121.3 MB / 1.041 GB, free: 58.78 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001275/0.6393, allocations: 0.9526 MB / 1.042 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.6402, allocations: 0.7692 MB / 1.043 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.6402, allocations: 1.312 kB / 1.043 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.6403, allocations: 0 / 1.043 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.6403, allocations: 1.531 kB / 1.043 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.6408, allocations: 92.94 kB / 1.043 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.501e-05/0.6409, allocations: 21.17 kB / 1.043 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.6409, allocations: 1.5 kB / 1.043 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.6409, allocations: 5.047 kB / 1.043 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.222e-05/0.641, allocations: 12.97 kB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.641, allocations: 1.812 kB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.6412, allocations: 90.34 kB / 1.043 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.6412, allocations: 5.297 kB / 1.043 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.6413, allocations: 42.89 kB / 1.043 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.6415, allocations: 93.89 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6415, allocations: 0.7812 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6415, allocations: 0 / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.6415, allocations: 0.6875 kB / 1.043 GB, free: 57.27 MB / 0.698 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.0004078/0.6419, allocations: 369.3 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.642, allocations: 9.031 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.642, allocations: 6.641 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.05e-05/0.6421, allocations: 166.4 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.6421, allocations: 4.969 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.6421, allocations: 384 / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.6422, allocations: 39.42 kB / 1.043 GB, free: 56.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.6422, allocations: 0.875 kB / 1.043 GB, free: 56.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.6423, allocations: 5.969 kB / 1.043 GB, free: 56.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.6423, allocations: 6 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.073e-05/0.6423, allocations: 10.48 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.6424, allocations: 153.9 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.842e-05/0.6425, allocations: 32.5 kB / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.6426, allocations: 12.78 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.6426, allocations: 3.328 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.6427, allocations: 56.25 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.6427, allocations: 0.9375 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002019/0.6429, allocations: 70.94 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.643, allocations: 55.59 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.643, allocations: 108.1 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.643, allocations: 29.48 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.109e-05/0.6431, allocations: 88.28 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.6431, allocations: 6.25 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.6431, allocations: 0 / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.6432, allocations: 316.5 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.6432, allocations: 4.531 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.6432, allocations: 43.75 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.6433, allocations: 38.56 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6433, allocations: 4.562 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.97e-05/0.6434, allocations: 71.73 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6434, allocations: 14.59 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6434, allocations: 1.969 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.6434, allocations: 0.75 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.6435, allocations: 6.75 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.6435, allocations: 3.375 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.6435, allocations: 0.9062 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.6436, allocations: 2.719 kB / 1.045 GB, free: 55.55 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.6436, allocations: 119.1 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.6436, allocations: 6.25 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.6437, allocations: 8.062 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6437, allocations: 0.6562 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.6437, allocations: 2.312 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6437, allocations: 2.531 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.394e-05/0.6438, allocations: 151.5 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6438, allocations: 1.094 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.6438, allocations: 2.5 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6438, allocations: 3.938 kB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.6438, allocations: 2.969 kB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6438, allocations: 1.094 kB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6438, allocations: 4.75 kB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.644, allocations: 91.92 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.644, allocations: 81.28 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.644, allocations: 8.531 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.314e-05/0.644, allocations: 4 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.6441, allocations: 7.922 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.6441, allocations: 4 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.323e-05/0.6441, allocations: 79.58 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6441, allocations: 0 / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002673/0.6444, allocations: 35.75 kB / 1.045 GB, free: 54.95 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003343/0.6447, allocations: 181.9 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.6448, allocations: 30.44 kB / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6449, allocations: 0 / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.474e-05/0.6449, allocations: 12.12 kB / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.645, allocations: 3.938 kB / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002223/0.6453, allocations: 110.5 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.6454, allocations: 0.678 MB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.6454, allocations: 11.16 kB / 1.046 GB, free: 54.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.6454, allocations: 7.438 kB / 1.046 GB, free: 54 MB / 0.698 GB Notification: Performance of SimCode: time 2.054e-06/0.6454, allocations: 0 / 1.046 GB, free: 54 MB / 0.698 GB Notification: Performance of Templates: time 0.003109/0.6485, allocations: 1.016 MB / 1.047 GB, free: 53.87 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)