Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.918/1.918, allocations: 306.1 MB / 321.4 MB, free: 10.77 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.002457/0.002457, allocations: 183.5 kB / 393.1 MB, free: 4.074 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.555/1.555, 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.0008859/0.0008859, allocations: 98.2 kB / 0.7935 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 8 kB / 0.9224 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7586/0.759, allocations: 121.3 MB / 1.041 GB, free: 58.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00105/0.7601, allocations: 0.5257 MB / 1.041 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001043/0.7603, allocations: 42.66 kB / 1.041 GB, free: 58.4 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.7603, allocations: 3.938 kB / 1.041 GB, free: 58.4 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.7603, allocations: 3.938 kB / 1.041 GB, free: 58.39 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.459e-05/0.7604, allocations: 5.5 kB / 1.041 GB, free: 58.39 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.482e-05/0.7605, allocations: 14.23 kB / 1.041 GB, free: 58.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.465e-05/0.7606, allocations: 62.41 kB / 1.042 GB, free: 58.35 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.7607, allocations: 37.92 kB / 1.042 GB, free: 58.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.556e-05/0.7608, allocations: 21.2 kB / 1.042 GB, free: 58.32 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.7608, allocations: 24.05 kB / 1.042 GB, free: 58.31 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.7609, allocations: 1.625 kB / 1.042 GB, free: 58.31 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-06/0.7609, allocations: 2.312 kB / 1.042 GB, free: 58.31 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.7609, allocations: 11.72 kB / 1.042 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.761, allocations: 47.31 kB / 1.042 GB, free: 58.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.7611, allocations: 74.75 kB / 1.042 GB, free: 58.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.7611, allocations: 0 / 1.042 GB, free: 58.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7611, allocations: 0.6562 kB / 1.042 GB, free: 58.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.7611, allocations: 0 / 1.042 GB, free: 58.23 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000341/0.7614, allocations: 363.5 kB / 1.042 GB, free: 57.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.7615, allocations: 9.719 kB / 1.042 GB, free: 57.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.7615, allocations: 17.64 kB / 1.042 GB, free: 57.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.7617, allocations: 197 kB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.7617, allocations: 5.094 kB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.7618, allocations: 9.344 kB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.7619, allocations: 91.55 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.7619, allocations: 192 / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.7619, allocations: 9.406 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.762, allocations: 1.875 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.794e-05/0.762, allocations: 39.45 kB / 1.042 GB, free: 57.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.7625, allocations: 438.2 kB / 1.043 GB, free: 57.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.644e-05/0.7626, allocations: 41.08 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.7626, allocations: 19.86 kB / 1.043 GB, free: 57.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-06/0.7626, allocations: 0.7031 kB / 1.043 GB, free: 57.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.7626, allocations: 33.5 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.7627, allocations: 0 / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000169/0.7628, allocations: 64.58 kB / 1.043 GB, free: 56.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.7629, allocations: 79.77 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.763, allocations: 154.9 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.763, allocations: 27.45 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.7631, allocations: 107 kB / 1.043 GB, free: 56.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.809e-06/0.7631, allocations: 4.656 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.7631, allocations: 0 / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.7632, allocations: 321.2 kB / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.7632, allocations: 9.984 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.7632, allocations: 19.75 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.7632, allocations: 35.38 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7633, allocations: 2.875 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.7e-05/0.7633, allocations: 55.95 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.7634, allocations: 7.547 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.7634, allocations: 5.062 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7634, allocations: 0.75 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.7634, allocations: 5.438 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.7635, allocations: 3.375 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.7635, allocations: 7.406 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.7635, allocations: 0 / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.299e-05/0.7636, allocations: 116.3 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.7636, allocations: 7.031 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.7636, allocations: 21.69 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.7636, allocations: 0 / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7636, allocations: 3.188 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7637, allocations: 2.297 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.764, allocations: 474.9 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.764, allocations: 1.188 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/0.764, allocations: 6.906 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.764, allocations: 1.562 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.764, allocations: 0 / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.764, allocations: 0.8125 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.764, allocations: 1.312 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.776e-05/0.7641, allocations: 86.27 kB / 1.045 GB, free: 55.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.7642, allocations: 90.17 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.7642, allocations: 4.094 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.7642, allocations: 2.578 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.7642, allocations: 0 / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.7642, allocations: 0.7812 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.778e-05/0.7643, allocations: 117.9 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.22e-07/0.7643, allocations: 0 / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001693/0.7645, allocations: 11.81 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 9.934e-05/0.7646, allocations: 105.7 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.574e-05/0.7647, allocations: 16.17 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.7647, allocations: 0 / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.7647, allocations: 13.58 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.7648, allocations: 16.14 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.7651, allocations: 191.8 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.7652, allocations: 0.6878 MB / 1.046 GB, free: 54.31 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.162e-05/0.7652, allocations: 6.469 kB / 1.046 GB, free: 54.31 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.7653, allocations: 15.84 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.7653, allocations: 3.938 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of Templates: time 0.002169/0.7674, allocations: 424 kB / 1.046 GB, free: 54.23 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)