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_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.747/1.747, allocations: 306.1 MB / 321.4 MB, free: 10.71 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.001602/0.001603, allocations: 171 kB / 393.1 MB, free: 4.09 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.576/1.576, 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.0007918/0.0007918, allocations: 104.5 kB / 0.7935 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003865, allocations: 8 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8411/0.8415, allocations: 121.3 MB / 1.041 GB, free: 58.15 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00143/0.843, allocations: 0.5299 MB / 1.041 GB, free: 57.83 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001368/0.8432, allocations: 41.14 kB / 1.041 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.8433, allocations: 3.656 kB / 1.041 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.8433, allocations: 7.828 kB / 1.041 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.8434, allocations: 7.922 kB / 1.041 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.519e-05/0.8435, allocations: 13.94 kB / 1.041 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.8436, allocations: 58.73 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.8438, allocations: 32.78 kB / 1.042 GB, free: 57.74 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.8439, allocations: 20.36 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.844, allocations: 22.33 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.844, allocations: 1.969 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.8441, allocations: 1.688 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.8441, allocations: 14.22 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.378e-05/0.8442, allocations: 48.78 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.8443, allocations: 74.45 kB / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.8443, allocations: 0 / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.935e-06/0.8444, allocations: 1.656 kB / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.8444, allocations: 1.406 kB / 1.042 GB, free: 57.63 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.0005279/0.8449, allocations: 362.9 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/0.845, allocations: 8.719 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.845, allocations: 16.94 kB / 1.042 GB, free: 57.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.8453, allocations: 192.1 kB / 1.042 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.8453, allocations: 7.062 kB / 1.042 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.8453, allocations: 9.812 kB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.8456, allocations: 89.39 kB / 1.042 GB, free: 56.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.8456, allocations: 192 / 1.042 GB, free: 56.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.8456, allocations: 9.219 kB / 1.042 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.8456, allocations: 2.219 kB / 1.042 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.8458, allocations: 45.02 kB / 1.042 GB, free: 56.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.8464, allocations: 434.3 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.279e-05/0.8465, allocations: 41.19 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.8465, allocations: 21.48 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.8466, allocations: 0 / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.8466, allocations: 36.53 kB / 1.043 GB, free: 56.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.8466, allocations: 0 / 1.043 GB, free: 56.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002174/0.8468, allocations: 58.75 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.8469, allocations: 77.11 kB / 1.043 GB, free: 56.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.8471, allocations: 162 kB / 1.043 GB, free: 56.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.8471, allocations: 25.7 kB / 1.043 GB, free: 56.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.8471, allocations: 106.7 kB / 1.043 GB, free: 56.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.8472, allocations: 8.906 kB / 1.043 GB, free: 56.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.8472, allocations: 0 / 1.043 GB, free: 56.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.8473, allocations: 322 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.8473, allocations: 2.375 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/0.8473, allocations: 25.5 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/0.8474, allocations: 30.5 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8474, allocations: 3.938 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.742e-05/0.8475, allocations: 60.05 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.8475, allocations: 5.188 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.8475, allocations: 5.406 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.8475, allocations: 0 / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.8476, allocations: 7.922 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.8477, allocations: 0 / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.231e-05/0.8477, allocations: 8.125 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.8477, allocations: 0 / 1.044 GB, free: 55.61 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 8.813e-05/0.8478, allocations: 117.9 kB / 1.044 GB, free: 55.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.8478, allocations: 8.656 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.8479, allocations: 15.69 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8479, allocations: 3 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.8479, allocations: 4 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8479, allocations: 0.7031 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.8483, allocations: 474.9 kB / 1.044 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8483, allocations: 0 / 1.044 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.8483, allocations: 3.531 kB / 1.044 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.8483, allocations: 0.8125 kB / 1.044 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.8483, allocations: 8.531 kB / 1.044 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.8483, allocations: 2.188 kB / 1.044 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8483, allocations: 0 / 1.044 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.057e-05/0.8484, allocations: 79.17 kB / 1.044 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.8485, allocations: 90.34 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.8485, allocations: 6.359 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.904e-05/0.8485, allocations: 0 / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.8486, allocations: 1 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.8486, allocations: 1.969 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.07e-05/0.8487, allocations: 121.6 kB / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8487, allocations: 4.031 kB / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001764/0.8489, allocations: 5 kB / 1.045 GB, free: 54.7 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.00016/0.849, allocations: 109.6 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.286e-05/0.8491, allocations: 12.77 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8491, allocations: 1.031 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.8492, allocations: 17.2 kB / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.8493, allocations: 10.42 kB / 1.045 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.8497, allocations: 190.6 kB / 1.045 GB, free: 54.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.85, allocations: 0.6956 MB / 1.046 GB, free: 53.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.316e-05/0.85, allocations: 8.672 kB / 1.046 GB, free: 53.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.8501, allocations: 10.31 kB / 1.046 GB, free: 53.7 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/0.8501, allocations: 0 / 1.046 GB, free: 53.7 MB / 0.698 GB Notification: Performance of Templates: time 0.002892/0.853, allocations: 430.3 kB / 1.046 GB, free: 53.63 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)