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_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.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.947/1.947, allocations: 306.1 MB / 321.4 MB, free: 10.76 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.001031/0.001031, allocations: 179.5 kB / 393.1 MB, free: 4.082 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.669/1.669, allocations: 225.7 MB / 0.6743 GB, free: 12.54 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.0008154/0.0008154, allocations: 96.23 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004365, allocations: 12 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8125, allocations: 121.3 MB / 1.041 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001327/0.8139, allocations: 0.531 MB / 1.041 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001145/0.8141, allocations: 41.64 kB / 1.041 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.8141, allocations: 2.125 kB / 1.041 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.8142, allocations: 5.203 kB / 1.041 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.15e-05/0.8143, allocations: 8.328 kB / 1.041 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.796e-05/0.8143, allocations: 17.03 kB / 1.041 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.8144, allocations: 57.11 kB / 1.042 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.8146, allocations: 35.22 kB / 1.042 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.882e-05/0.8147, allocations: 20.39 kB / 1.042 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/0.8147, allocations: 18.3 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.8148, allocations: 2.562 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.8148, allocations: 3.562 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.8148, allocations: 15.23 kB / 1.042 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.8149, allocations: 49.42 kB / 1.042 GB, free: 57.72 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.815, allocations: 67.42 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.815, allocations: 0 / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.815, allocations: 3.938 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.815, allocations: 0 / 1.042 GB, free: 57.7 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.000414/0.8154, allocations: 368.6 kB / 1.042 GB, free: 57.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.8155, allocations: 9.562 kB / 1.042 GB, free: 57.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.8155, allocations: 15.81 kB / 1.042 GB, free: 57.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.8157, allocations: 187.5 kB / 1.042 GB, free: 57.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.8158, allocations: 4.5 kB / 1.042 GB, free: 57.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.8158, allocations: 13.19 kB / 1.042 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.816, allocations: 93.33 kB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.816, allocations: 192 / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.816, allocations: 9.312 kB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.816, allocations: 5.25 kB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.635e-05/0.8161, allocations: 38.89 kB / 1.042 GB, free: 57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.8167, allocations: 435.9 kB / 1.043 GB, free: 56.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.906e-05/0.8168, allocations: 46.44 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/0.8168, allocations: 15.94 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.8168, allocations: 2.219 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.8169, allocations: 36.62 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8169, allocations: 1.375 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001773/0.8171, allocations: 55.88 kB / 1.043 GB, free: 56.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.8171, allocations: 79.72 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.8173, allocations: 159.6 kB / 1.043 GB, free: 56.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.8173, allocations: 25.7 kB / 1.043 GB, free: 56.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.8173, allocations: 108.8 kB / 1.043 GB, free: 56.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-06/0.8174, allocations: 9.594 kB / 1.043 GB, free: 56.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.8174, allocations: 0 / 1.043 GB, free: 56.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.8174, allocations: 317.6 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.8175, allocations: 8.969 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.8175, allocations: 20.34 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.8175, allocations: 30.23 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8175, allocations: 0 / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.448e-05/0.8176, allocations: 56.36 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.8177, allocations: 11.55 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8177, allocations: 5.312 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.8177, allocations: 1.125 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.8178, allocations: 5.531 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.8178, allocations: 3.922 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.8178, allocations: 8.5 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.8178, allocations: 2.875 kB / 1.044 GB, free: 55.67 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 6.683e-05/0.8179, allocations: 115.9 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.8179, allocations: 10.19 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.818, allocations: 11.12 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.818, allocations: 3.734 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.818, allocations: 4 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.818, allocations: 2.516 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.8183, allocations: 473.5 kB / 1.044 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8183, allocations: 1.281 kB / 1.044 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.8183, allocations: 3.156 kB / 1.044 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.8184, allocations: 0.5 kB / 1.044 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.8184, allocations: 3.562 kB / 1.044 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.8184, allocations: 7.938 kB / 1.044 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8184, allocations: 3.469 kB / 1.044 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.13e-05/0.8184, allocations: 73.72 kB / 1.044 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.8185, allocations: 95.84 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.8185, allocations: 0.9688 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.029e-05/0.8185, allocations: 3.406 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.8186, allocations: 4.031 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.8186, allocations: 0 / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.949e-05/0.8187, allocations: 117.5 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8187, allocations: 0 / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001902/0.8189, allocations: 8.969 kB / 1.045 GB, free: 54.77 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.0001198/0.819, allocations: 104.2 kB / 1.045 GB, free: 54.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.983e-05/0.8191, allocations: 21.92 kB / 1.045 GB, free: 54.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8191, allocations: 4.125 kB / 1.045 GB, free: 54.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.8191, allocations: 4.219 kB / 1.045 GB, free: 54.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.8193, allocations: 14.47 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.8196, allocations: 194 kB / 1.045 GB, free: 54.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.8197, allocations: 0.6911 MB / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.518e-05/0.8198, allocations: 10.38 kB / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.8198, allocations: 11.22 kB / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of SimCode: time 4e-07/0.8198, allocations: 0 / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of Templates: time 0.002533/0.8224, allocations: 429.1 kB / 1.046 GB, free: 53.7 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)