Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.789/1.789, allocations: 306.1 MB / 321.4 MB, free: 10.71 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.001189/0.001189, allocations: 179.5 kB / 393.1 MB, free: 4.082 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.632/1.632, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.000789/0.0007889, allocations: 103.3 kB / 0.7935 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0007372/0.0007374, allocations: 15.98 kB / 0.9224 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.788/0.7888, allocations: 121.3 MB / 1.041 GB, free: 58.84 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001193/0.79, allocations: 396.5 kB / 1.041 GB, free: 58.63 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.7915, allocations: 0.8015 MB / 1.042 GB, free: 58.03 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.7916, allocations: 2.844 kB / 1.042 GB, free: 58.03 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.7916, allocations: 0 / 1.042 GB, free: 58.03 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.824e-05/0.7917, allocations: 7.875 kB / 1.042 GB, free: 58.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.7919, allocations: 14.66 kB / 1.042 GB, free: 58.01 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.051e-05/0.792, allocations: 21.86 kB / 1.042 GB, free: 58 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.7921, allocations: 8 kB / 1.042 GB, free: 58 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.595e-05/0.7922, allocations: 9.438 kB / 1.042 GB, free: 58 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.7923, allocations: 6.75 kB / 1.042 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.7923, allocations: 1.188 kB / 1.042 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.7924, allocations: 1.375 kB / 1.042 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.7924, allocations: 4 kB / 1.042 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.7925, allocations: 33.59 kB / 1.042 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.762e-05/0.7925, allocations: 22.05 kB / 1.042 GB, free: 57.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7926, allocations: 4.719 kB / 1.042 GB, free: 57.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7926, allocations: 0 / 1.042 GB, free: 57.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7926, allocations: 1.594 kB / 1.042 GB, free: 57.94 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.0005214/0.7931, allocations: 339 kB / 1.043 GB, free: 57.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.7932, allocations: 9.625 kB / 1.043 GB, free: 57.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.7933, allocations: 3.344 kB / 1.043 GB, free: 57.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.7934, allocations: 167.8 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.7934, allocations: 1.688 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.7934, allocations: 2.688 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.7937, allocations: 58.75 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.7938, allocations: 4.422 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.7938, allocations: 4.641 kB / 1.043 GB, free: 57.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.7938, allocations: 0 / 1.043 GB, free: 57.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.7941, allocations: 44.86 kB / 1.043 GB, free: 57.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.7945, allocations: 247.8 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.7948, allocations: 52.44 kB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.795, allocations: 26.5 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.795, allocations: 1.375 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.795, allocations: 34.56 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.914e-06/0.7951, allocations: 1.406 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0005783/0.7956, allocations: 98.95 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.7957, allocations: 51.41 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.635e-05/0.7958, allocations: 99.42 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.7958, allocations: 25.7 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.7959, allocations: 87.11 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.7959, allocations: 12.41 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.7959, allocations: 1.281 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.796, allocations: 313.8 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.7962, allocations: 24.02 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.7963, allocations: 21.44 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.7966, allocations: 47.8 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7966, allocations: 5.625 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003265/0.7969, allocations: 77.77 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.797, allocations: 14.3 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.797, allocations: 0 / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.797, allocations: 0.6094 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.7972, allocations: 18.55 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.7972, allocations: 2.047 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.7973, allocations: 12.95 kB / 1.044 GB, free: 56.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.7973, allocations: 0 / 1.044 GB, free: 56.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.744e-05/0.7974, allocations: 119.2 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.7975, allocations: 4.203 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.7979, allocations: 78.91 kB / 1.044 GB, free: 56.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.7979, allocations: 0 / 1.044 GB, free: 56.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7979, allocations: 4.031 kB / 1.044 GB, free: 56.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.7979, allocations: 3.984 kB / 1.044 GB, free: 56.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.7981, allocations: 163 kB / 1.044 GB, free: 55.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7981, allocations: 0 / 1.044 GB, free: 55.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.947e-05/0.7982, allocations: 13.25 kB / 1.044 GB, free: 55.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7982, allocations: 0 / 1.044 GB, free: 55.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.7983, allocations: 5.062 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7983, allocations: 3.938 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7983, allocations: 1.031 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.7987, allocations: 171.1 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.7987, allocations: 81.86 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.7987, allocations: 1.312 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.7989, allocations: 13.66 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.799, allocations: 3.375 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.799, allocations: 1.812 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.232e-05/0.799, allocations: 77.53 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/0.799, allocations: 0 / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003612/0.7994, allocations: 5.406 kB / 1.045 GB, free: 55.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001746/0.7996, allocations: 110.5 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.8, allocations: 54.61 kB / 1.045 GB, free: 55.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8, allocations: 0 / 1.045 GB, free: 55.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.8001, allocations: 23.53 kB / 1.045 GB, free: 55.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.8007, allocations: 7.656 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.8011, allocations: 111.6 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.8013, allocations: 0.6781 MB / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.8e-05/0.8014, allocations: 0 / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.8014, allocations: 7.438 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/0.8015, allocations: 8 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of Templates: time 0.003353/0.8048, allocations: 353.1 kB / 1.046 GB, free: 54.59 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)