Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.828/1.828, 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.001331/0.001331, allocations: 183.2 kB / 393.1 MB, free: 4.07 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.692/1.692, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0008157/0.0008158, allocations: 93.62 kB / 0.7935 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 12 kB / 0.9225 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7588/0.7592, allocations: 121.3 MB / 1.041 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0009263/0.7602, allocations: 322.2 kB / 1.041 GB, free: 58.15 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 5.223e-05/0.7603, allocations: 5.875 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.7603, allocations: 0 / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.7603, allocations: 1.938 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.614e-05/0.7604, allocations: 1.062 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.196e-05/0.7604, allocations: 0 / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.268e-05/0.7605, allocations: 3.094 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.634e-05/0.7606, allocations: 3.109 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.752e-05/0.7606, allocations: 0.6562 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.551e-05/0.7606, allocations: 5.188 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.7606, allocations: 4.469 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.99e-06/0.7607, allocations: 1.531 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.7607, allocations: 0 / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.7607, allocations: 26.7 kB / 1.041 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 6.153e-05/0.7608, allocations: 3.406 kB / 1.041 GB, free: 58.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.7608, allocations: 1.156 kB / 1.041 GB, free: 58.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.514e-06/0.7608, allocations: 0 / 1.041 GB, free: 58.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.7608, allocations: 0 / 1.041 GB, free: 58.11 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.0002608/0.7611, allocations: 315.6 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.7611, allocations: 9.516 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.7612, allocations: 0.9375 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.7613, allocations: 169.5 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.7613, allocations: 2.531 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.7613, allocations: 1.469 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.645e-05/0.7614, allocations: 27.81 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.7615, allocations: 5.016 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.7615, allocations: 5.031 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.7615, allocations: 0 / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.7615, allocations: 9.359 kB / 1.042 GB, free: 57.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.7618, allocations: 387 kB / 1.042 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.143e-05/0.7619, allocations: 169.1 kB / 1.042 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.7619, allocations: 85.42 kB / 1.042 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.7619, allocations: 77.19 kB / 1.042 GB, free: 56.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.762, allocations: 112.2 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.762, allocations: 1.281 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.766e-05/0.7621, allocations: 29.56 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.7621, allocations: 126.7 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.7622, allocations: 97.05 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.7622, allocations: 27.53 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.866e-05/0.7622, allocations: 83.2 kB / 1.043 GB, free: 56.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.7622, allocations: 0 / 1.043 GB, free: 56.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.7622, allocations: 0 / 1.043 GB, free: 56.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.7623, allocations: 313.8 kB / 1.043 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-06/0.7623, allocations: 0.5312 kB / 1.043 GB, free: 55.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-06/0.7623, allocations: 0 / 1.043 GB, free: 55.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.454e-05/0.7623, allocations: 75.88 kB / 1.043 GB, free: 55.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.7624, allocations: 76.03 kB / 1.043 GB, free: 55.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.384e-05/0.7624, allocations: 40 kB / 1.043 GB, free: 55.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.7624, allocations: 85.53 kB / 1.043 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.7625, allocations: 75.28 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.252e-05/0.7625, allocations: 158 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.49e-05/0.7625, allocations: 81.69 kB / 1.044 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/0.7626, allocations: 152.5 kB / 1.044 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.413e-05/0.7626, allocations: 84.53 kB / 1.044 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.7627, allocations: 76.81 kB / 1.044 GB, free: 55.07 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.692e-05/0.7627, allocations: 262.3 kB / 1.044 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.7628, allocations: 110.3 kB / 1.044 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.7628, allocations: 109.5 kB / 1.045 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-05/0.7628, allocations: 182 kB / 1.045 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.315e-05/0.7629, allocations: 181.6 kB / 1.045 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.124e-05/0.7629, allocations: 178.6 kB / 1.045 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.7631, allocations: 407.7 kB / 1.045 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/0.7631, allocations: 105.1 kB / 1.046 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.7631, allocations: 107.9 kB / 1.046 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.259e-05/0.7632, allocations: 178.2 kB / 1.046 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.7632, allocations: 190.6 kB / 1.046 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.503e-05/0.7632, allocations: 183.6 kB / 1.046 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.997e-05/0.7633, allocations: 176.3 kB / 1.046 GB, free: 52.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.493e-05/0.7634, allocations: 308.7 kB / 1.047 GB, free: 52.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.7634, allocations: 189.3 kB / 1.047 GB, free: 52.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.7635, allocations: 185.5 kB / 1.047 GB, free: 51.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.7635, allocations: 112.6 kB / 1.047 GB, free: 51.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.7636, allocations: 180.2 kB / 1.047 GB, free: 51.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.7636, allocations: 102.2 kB / 1.047 GB, free: 51.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.524e-05/0.7636, allocations: 80.44 kB / 1.047 GB, free: 51.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7636, allocations: 4.094 kB / 1.047 GB, free: 51.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002916/0.7639, allocations: 0 / 1.047 GB, free: 51.44 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.00015/0.7641, allocations: 181.8 kB / 1.048 GB, free: 51.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 3.809e-05/0.7641, allocations: 1.5 kB / 1.048 GB, free: 51.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7641, allocations: 0 / 1.048 GB, free: 51.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.7641, allocations: 4.594 kB / 1.048 GB, free: 51.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.7644, allocations: 0.5317 MB / 1.048 GB, free: 50.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001732/0.7646, allocations: 144.6 kB / 1.048 GB, free: 50.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.7648, allocations: 0.6744 MB / 1.049 GB, free: 49.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.348e-06/0.7648, allocations: 0 / 1.049 GB, free: 49.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.7648, allocations: 7.438 kB / 1.049 GB, free: 49.88 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.7648, allocations: 0 / 1.049 GB, free: 49.88 MB / 0.698 GB Notification: Performance of Templates: time 0.001829/0.7666, allocations: 167.3 kB / 1.049 GB, free: 49.82 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)