Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.86/1.86, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.001091/0.001091, allocations: 176.3 kB / 393.1 MB, free: 4.055 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.519/1.519, 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.0008704/0.0008706, allocations: 95.97 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004272, allocations: 12 kB / 0.9224 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.733, allocations: 121.3 MB / 1.041 GB, free: 58.65 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001061/0.7342, allocations: 0.529 MB / 1.041 GB, free: 58.35 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000106/0.7343, allocations: 37.53 kB / 1.041 GB, free: 58.32 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.7344, allocations: 9.281 kB / 1.041 GB, free: 58.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.7344, allocations: 7.125 kB / 1.041 GB, free: 58.31 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.908e-05/0.7345, allocations: 3.938 kB / 1.041 GB, free: 58.31 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.404e-05/0.7345, allocations: 14.7 kB / 1.041 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.7346, allocations: 60.95 kB / 1.042 GB, free: 58.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.7348, allocations: 34.89 kB / 1.042 GB, free: 58.26 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.7348, allocations: 18.64 kB / 1.042 GB, free: 58.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.7349, allocations: 20.09 kB / 1.042 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.7349, allocations: 1.562 kB / 1.042 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-06/0.7349, allocations: 7 kB / 1.042 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.735, allocations: 11.64 kB / 1.042 GB, free: 58.22 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.735, allocations: 51.09 kB / 1.042 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.7351, allocations: 65.08 kB / 1.042 GB, free: 58.15 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.7352, allocations: 4.469 kB / 1.042 GB, free: 58.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.787e-06/0.7352, allocations: 0 / 1.042 GB, free: 58.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.7352, allocations: 3.938 kB / 1.042 GB, free: 58.15 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.0003535/0.7355, allocations: 362.8 kB / 1.042 GB, free: 57.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.7356, allocations: 9.969 kB / 1.042 GB, free: 57.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.7356, allocations: 13.48 kB / 1.042 GB, free: 57.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.7358, allocations: 199.5 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.7358, allocations: 4.406 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.7358, allocations: 10.97 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.736, allocations: 90.64 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.736, allocations: 192 / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.736, allocations: 9.312 kB / 1.042 GB, free: 57.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.736, allocations: 1.375 kB / 1.042 GB, free: 57.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.61e-05/0.7361, allocations: 42.08 kB / 1.042 GB, free: 57.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.7366, allocations: 438.1 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.651e-05/0.7367, allocations: 39.59 kB / 1.043 GB, free: 57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.7367, allocations: 19.92 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.7367, allocations: 1.375 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.7368, allocations: 37.31 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7368, allocations: 0.7812 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001763/0.737, allocations: 63.44 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.737, allocations: 77.11 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.7371, allocations: 153.6 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.7372, allocations: 28.56 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.7372, allocations: 106.4 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/0.7372, allocations: 6.312 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.7372, allocations: 3.938 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.7373, allocations: 321.4 kB / 1.044 GB, free: 56.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.7373, allocations: 9.422 kB / 1.044 GB, free: 56.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.989e-05/0.7374, allocations: 21.36 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.652e-05/0.7374, allocations: 26.84 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7374, allocations: 0.625 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.419e-05/0.7375, allocations: 59.86 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.7375, allocations: 5.562 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.7375, allocations: 9.156 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.7375, allocations: 0 / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.7376, allocations: 6.562 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.7376, allocations: 1.609 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.7377, allocations: 6.375 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.7377, allocations: 1.938 kB / 1.044 GB, free: 56.12 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.853e-05/0.7377, allocations: 114.9 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.7378, allocations: 12.42 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.7378, allocations: 15.47 kB / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.7378, allocations: 0 / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7378, allocations: 1.094 kB / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.7378, allocations: 0.5938 kB / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.7381, allocations: 474.6 kB / 1.044 GB, free: 55.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.7381, allocations: 3.359 kB / 1.044 GB, free: 55.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/0.7382, allocations: 2.938 kB / 1.044 GB, free: 55.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7382, allocations: 3.938 kB / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.7382, allocations: 3.844 kB / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.7382, allocations: 1.5 kB / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7382, allocations: 0 / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.479e-05/0.7383, allocations: 82.22 kB / 1.044 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.7383, allocations: 92.27 kB / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.7383, allocations: 1.594 kB / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.7384, allocations: 1.375 kB / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.7384, allocations: 1.547 kB / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.7384, allocations: 3.219 kB / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.446e-05/0.7385, allocations: 122 kB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7385, allocations: 0 / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001771/0.7386, allocations: 7.562 kB / 1.045 GB, free: 55.22 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 0.0001206/0.7388, allocations: 107.2 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.055e-05/0.7389, allocations: 16.31 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7389, allocations: 0 / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.7389, allocations: 13.11 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.7391, allocations: 13.16 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.7394, allocations: 189.6 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.7395, allocations: 0.6969 MB / 1.046 GB, free: 54.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.435e-05/0.7396, allocations: 5.125 kB / 1.046 GB, free: 54.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.7396, allocations: 12.12 kB / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/0.7396, allocations: 0 / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of Templates: time 0.00235/0.7419, allocations: 438.3 kB / 1.046 GB, free: 54.15 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)