Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 101.6 kB / 16.27 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 190.6 kB / 17.2 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.801/2.801, allocations: 469.8 MB / 0.743 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 74.53 kB / 0.9092 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3314, allocations: 159.1 MB / 1.065 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002295/0.3337, allocations: 0.8215 MB / 1.065 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001144/0.3338, allocations: 43.78 kB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.3339, allocations: 0 / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.386e-05/0.3339, allocations: 7.922 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.477e-05/0.334, allocations: 7.875 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.935e-05/0.3341, allocations: 15.98 kB / 1.066 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.3342, allocations: 67.78 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.3344, allocations: 47.95 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.3345, allocations: 27.86 kB / 1.066 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.3345, allocations: 23.86 kB / 1.066 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.3346, allocations: 8 kB / 1.066 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.3346, allocations: 8 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.3346, allocations: 15.92 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.3346, allocations: 35.73 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.3348, allocations: 68.05 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.3348, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3348, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3348, allocations: 4 kB / 1.066 GB, free: 13.54 MB / 0.8419 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.0004655/0.3353, allocations: 371.2 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3353, allocations: 20.02 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.3354, allocations: 16.69 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.3356, allocations: 184.2 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.3357, allocations: 8.375 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3357, allocations: 8.375 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.3359, allocations: 102.2 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3359, allocations: 4.172 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3359, allocations: 7.938 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3359, allocations: 11.98 kB / 1.067 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.553e-05/0.336, allocations: 35.92 kB / 1.067 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.3366, allocations: 436.5 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.126e-05/0.3366, allocations: 37.22 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.3367, allocations: 17.78 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.3367, allocations: 96 / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3367, allocations: 42.48 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.3367, allocations: 0 / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001798/0.3369, allocations: 53.7 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.337, allocations: 81.14 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.3372, allocations: 164.7 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3372, allocations: 25.7 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.3373, allocations: 112 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.3373, allocations: 7.906 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.3373, allocations: 13.72 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3375, allocations: 318.8 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/0.3375, allocations: 12 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-05/0.3375, allocations: 17.72 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.025e-05/0.3376, allocations: 29.64 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3376, allocations: 4 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.179e-05/0.3377, allocations: 49.61 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3377, allocations: 4 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3377, allocations: 8 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3377, allocations: 4 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.3378, allocations: 15.92 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.3378, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.3378, allocations: 11.84 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.3378, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 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 9.317e-05/0.3379, allocations: 115.6 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.338, allocations: 7.906 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.338, allocations: 15.8 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.338, allocations: 4 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.338, allocations: 3.938 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3381, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.3385, allocations: 470.8 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3385, allocations: 0 / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.3385, allocations: 4 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3386, allocations: 0 / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.3386, allocations: 4 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3386, allocations: 4.062 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3386, allocations: 0 / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.53e-05/0.3387, allocations: 85.77 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.3388, allocations: 88.95 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.3388, allocations: 0 / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.415e-05/0.3388, allocations: 7.984 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.3389, allocations: 8.031 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.3389, allocations: 0 / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.347e-05/0.339, allocations: 122.3 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.339, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000188/0.3392, allocations: 12 kB / 1.069 GB, free: 10.04 MB / 0.8419 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.0001202/0.3393, allocations: 95.78 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.866e-05/0.3394, allocations: 19.94 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3394, allocations: 4.125 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.3394, allocations: 4 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.3396, allocations: 14 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.3399, allocations: 188.6 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3403, allocations: 0.6931 MB / 1.07 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.3403, allocations: 15.38 kB / 1.07 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3403, allocations: 0 / 1.07 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of Templates: time 0.00278/0.3431, allocations: 0.8677 MB / 1.071 GB, free: 8.074 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches