Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.853/1.853, 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.001079/0.001079, allocations: 187.2 kB / 393.1 MB, free: 4.043 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.646/1.646, 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.0009838/0.0009839, allocations: 96.19 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003744, allocations: 12 kB / 0.9225 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7145/0.7149, allocations: 121.3 MB / 1.041 GB, free: 58.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007842/0.7157, allocations: 292.5 kB / 1.041 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 3.605e-05/0.7158, allocations: 0 / 1.041 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.7158, allocations: 0.5312 kB / 1.041 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.7158, allocations: 0.9688 kB / 1.041 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.07e-05/0.7159, allocations: 5.469 kB / 1.041 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.398e-05/0.7159, allocations: 0 / 1.041 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.041e-05/0.7159, allocations: 15.25 kB / 1.041 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.789e-05/0.716, allocations: 2.109 kB / 1.041 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.447e-05/0.716, allocations: 3.078 kB / 1.041 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 1.777e-05/0.7161, allocations: 0 / 1.041 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.7161, allocations: 1.625 kB / 1.041 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.488e-06/0.7161, allocations: 0 / 1.041 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.7161, allocations: 5.875 kB / 1.041 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.7161, allocations: 25.7 kB / 1.041 GB, free: 58.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.026e-05/0.7162, allocations: 7.531 kB / 1.041 GB, free: 58.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7162, allocations: 0 / 1.041 GB, free: 58.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7162, allocations: 0 / 1.041 GB, free: 58.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.7162, allocations: 0.875 kB / 1.041 GB, free: 58.25 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.0002244/0.7165, allocations: 304.4 kB / 1.042 GB, free: 57.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.7165, allocations: 10 kB / 1.042 GB, free: 57.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.7165, allocations: 1.594 kB / 1.042 GB, free: 57.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.098e-05/0.7166, allocations: 171.5 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.7166, allocations: 1.719 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.7167, allocations: 1.922 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.367e-05/0.7167, allocations: 34.28 kB / 1.042 GB, free: 57.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7168, allocations: 192 / 1.042 GB, free: 57.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.7168, allocations: 3.938 kB / 1.042 GB, free: 57.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.7168, allocations: 0 / 1.042 GB, free: 57.67 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.7168, allocations: 7.094 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.7171, allocations: 378 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.399e-05/0.7171, allocations: 169.8 kB / 1.042 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.7172, allocations: 81.27 kB / 1.042 GB, free: 56.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.7172, allocations: 76.56 kB / 1.042 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.7172, allocations: 120.8 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.7172, allocations: 0 / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.022e-05/0.7173, allocations: 29.69 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.7173, allocations: 128.8 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.257e-05/0.7174, allocations: 95.91 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.7174, allocations: 26.67 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.7175, allocations: 80.92 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-06/0.7175, allocations: 1.5 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.7175, allocations: 3.719 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.788e-05/0.7175, allocations: 314.8 kB / 1.043 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-06/0.7175, allocations: 0 / 1.043 GB, free: 56.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-06/0.7175, allocations: 2.625 kB / 1.043 GB, free: 56.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.53e-05/0.7176, allocations: 79.22 kB / 1.043 GB, free: 56.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.7176, allocations: 79.22 kB / 1.043 GB, free: 55.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.87e-05/0.7176, allocations: 30.73 kB / 1.043 GB, free: 55.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.7177, allocations: 85.66 kB / 1.043 GB, free: 55.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.7177, allocations: 80.41 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.56e-05/0.7177, allocations: 156.6 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.175e-05/0.7177, allocations: 75.28 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/0.7178, allocations: 159.2 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.7178, allocations: 87.2 kB / 1.044 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.7179, allocations: 75.91 kB / 1.044 GB, free: 55.22 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.819e-05/0.7179, allocations: 264.5 kB / 1.044 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.718, allocations: 104.9 kB / 1.044 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.718, allocations: 107.1 kB / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/0.7181, allocations: 183.4 kB / 1.045 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.174e-05/0.7181, allocations: 180.9 kB / 1.045 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-05/0.7181, allocations: 181.4 kB / 1.045 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.7183, allocations: 406.3 kB / 1.045 GB, free: 53.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.7183, allocations: 103.4 kB / 1.046 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.7183, allocations: 109.8 kB / 1.046 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.589e-05/0.7184, allocations: 180 kB / 1.046 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.7184, allocations: 182.1 kB / 1.046 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.66e-05/0.7184, allocations: 180.2 kB / 1.046 GB, free: 52.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-05/0.7185, allocations: 178.6 kB / 1.046 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.097e-05/0.7186, allocations: 317.3 kB / 1.047 GB, free: 52.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.7186, allocations: 190 kB / 1.047 GB, free: 52.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.7186, allocations: 183.9 kB / 1.047 GB, free: 52.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.7187, allocations: 105 kB / 1.047 GB, free: 51.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.7188, allocations: 180.8 kB / 1.047 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.7188, allocations: 105.6 kB / 1.047 GB, free: 51.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.806e-05/0.7188, allocations: 83.47 kB / 1.047 GB, free: 51.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7188, allocations: 0 / 1.047 GB, free: 51.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002649/0.7191, allocations: 0 / 1.047 GB, free: 51.6 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.000125/0.7192, allocations: 178.4 kB / 1.048 GB, free: 51.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.192e-05/0.7193, allocations: 5.656 kB / 1.048 GB, free: 51.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7193, allocations: 0 / 1.048 GB, free: 51.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.7193, allocations: 0 / 1.048 GB, free: 51.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.7196, allocations: 0.5298 MB / 1.048 GB, free: 50.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.7198, allocations: 150.3 kB / 1.048 GB, free: 50.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.7199, allocations: 0.6706 MB / 1.049 GB, free: 50.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.895e-06/0.7199, allocations: 0 / 1.049 GB, free: 50.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.7199, allocations: 7.438 kB / 1.049 GB, free: 50.04 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.7199, allocations: 4 kB / 1.049 GB, free: 50.03 MB / 0.698 GB Notification: Performance of Templates: time 0.001788/0.7217, allocations: 159.2 kB / 1.049 GB, free: 49.98 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)