Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.755/1.755, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.00108/0.00108, allocations: 180.3 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.69/1.69, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0009791/0.0009791, allocations: 95.98 kB / 0.7935 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000497/0.0004971, allocations: 12 kB / 0.9225 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.782/0.7825, allocations: 121.3 MB / 1.041 GB, free: 58.81 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0007341/0.7833, allocations: 284.8 kB / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 3.867e-05/0.7834, allocations: 2.625 kB / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.7834, allocations: 0 / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.7834, allocations: 1.594 kB / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.358e-05/0.7835, allocations: 0 / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.09e-05/0.7835, allocations: 4 kB / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.99e-05/0.7836, allocations: 5.562 kB / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.608e-05/0.7836, allocations: 3.203 kB / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.44e-05/0.7836, allocations: 0.9375 kB / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 1.777e-05/0.7837, allocations: 0 / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.7837, allocations: 3.656 kB / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.099e-06/0.7837, allocations: 1.156 kB / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.7837, allocations: 3.938 kB / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.7837, allocations: 29.64 kB / 1.041 GB, free: 58.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.294e-05/0.7838, allocations: 2.031 kB / 1.041 GB, free: 58.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7838, allocations: 0 / 1.041 GB, free: 58.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7838, allocations: 0 / 1.041 GB, free: 58.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.7838, allocations: 0 / 1.041 GB, free: 58.64 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002239/0.7841, allocations: 313.7 kB / 1.042 GB, free: 58.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7841, allocations: 10.12 kB / 1.042 GB, free: 58.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.7841, allocations: 4.188 kB / 1.042 GB, free: 58.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.358e-05/0.7842, allocations: 168.8 kB / 1.042 GB, free: 58.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.7842, allocations: 384 / 1.042 GB, free: 58.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.7842, allocations: 2.938 kB / 1.042 GB, free: 58.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.484e-05/0.7843, allocations: 34.2 kB / 1.042 GB, free: 58.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.7843, allocations: 1.344 kB / 1.042 GB, free: 58.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.7844, allocations: 0 / 1.042 GB, free: 58.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.7844, allocations: 2.5 kB / 1.042 GB, free: 58.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.605e-05/0.7844, allocations: 1.5 kB / 1.042 GB, free: 58.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.7846, allocations: 387.1 kB / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.679e-05/0.7847, allocations: 171.5 kB / 1.042 GB, free: 57.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.7847, allocations: 84.14 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.7847, allocations: 79.22 kB / 1.042 GB, free: 57.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.7848, allocations: 110.1 kB / 1.043 GB, free: 57.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.7848, allocations: 0 / 1.043 GB, free: 57.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.196e-05/0.7848, allocations: 29.64 kB / 1.043 GB, free: 57.15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.7849, allocations: 127.7 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.218e-05/0.7849, allocations: 95.11 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.785, allocations: 25.7 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.698e-05/0.785, allocations: 86.94 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.785, allocations: 2.938 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-08/0.785, allocations: 0 / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.7851, allocations: 315.8 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-06/0.7851, allocations: 1.938 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-06/0.7851, allocations: 0 / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.606e-05/0.7851, allocations: 75.28 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.7851, allocations: 75.78 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.098e-05/0.7852, allocations: 34.41 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.7852, allocations: 86.86 kB / 1.043 GB, free: 56.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.7852, allocations: 76.92 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/0.7852, allocations: 156.7 kB / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.258e-05/0.7853, allocations: 85.72 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.7853, allocations: 154 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.7854, allocations: 84.06 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.7854, allocations: 78.34 kB / 1.044 GB, free: 55.61 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 (0): * Single equations (assignments): 0 * 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 6.46e-05/0.7854, allocations: 261.8 kB / 1.044 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.7855, allocations: 107.1 kB / 1.044 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.7855, allocations: 114.8 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/0.7855, allocations: 177.8 kB / 1.045 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.993e-05/0.7856, allocations: 181.3 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/0.7856, allocations: 178.6 kB / 1.045 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.7858, allocations: 414.8 kB / 1.045 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.7858, allocations: 102 kB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.7858, allocations: 112.4 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-05/0.7858, allocations: 181.9 kB / 1.046 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-05/0.7859, allocations: 179.1 kB / 1.046 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.578e-05/0.7859, allocations: 180.2 kB / 1.046 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-05/0.786, allocations: 176.8 kB / 1.046 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.509e-05/0.786, allocations: 316 kB / 1.047 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.7861, allocations: 189.5 kB / 1.047 GB, free: 52.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.7861, allocations: 181.9 kB / 1.047 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.614e-05/0.7862, allocations: 109.8 kB / 1.047 GB, free: 52.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.7863, allocations: 180.9 kB / 1.047 GB, free: 52.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.7863, allocations: 104.9 kB / 1.047 GB, free: 52.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.202e-05/0.7863, allocations: 81.41 kB / 1.047 GB, free: 51.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7863, allocations: 1.188 kB / 1.047 GB, free: 51.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004342/0.7868, allocations: 0 / 1.047 GB, free: 51.98 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 (0): * Single equations (assignments): 0 * 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.0001238/0.7869, allocations: 181.5 kB / 1.048 GB, free: 51.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 3.477e-05/0.7869, allocations: 0 / 1.048 GB, free: 51.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.787, allocations: 0 / 1.048 GB, free: 51.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.787, allocations: 3.938 kB / 1.048 GB, free: 51.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.7873, allocations: 0.5299 MB / 1.048 GB, free: 51.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001605/0.7874, allocations: 149.4 kB / 1.048 GB, free: 51.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.7875, allocations: 0.6692 MB / 1.049 GB, free: 50.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.127e-06/0.7876, allocations: 0.5 kB / 1.049 GB, free: 50.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.215e-05/0.7876, allocations: 7.438 kB / 1.049 GB, free: 50.42 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.7876, allocations: 3.406 kB / 1.049 GB, free: 50.42 MB / 0.698 GB Notification: Performance of Templates: time 0.00168/0.7893, allocations: 156.5 kB / 1.049 GB, free: 50.38 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)