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.005403/0.005403, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001426/0.001426, allocations: 199.2 kB / 16.68 MB, free: 5.977 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.884/2.884, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.88 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4091, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002174/0.4112, allocations: 0.8233 MB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001258/0.4114, allocations: 43.78 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.4114, allocations: 4 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.118e-05/0.4115, allocations: 11.86 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.357e-05/0.4115, allocations: 11.88 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.593e-05/0.4116, allocations: 15.98 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.4117, allocations: 63.84 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.4119, allocations: 47.83 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.949e-05/0.4119, allocations: 27.81 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.233e-05/0.412, allocations: 27.84 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.412, allocations: 4 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.412, allocations: 8 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.4121, allocations: 15.88 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.4121, allocations: 39.73 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.4122, allocations: 75.64 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4122, allocations: 0 / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4122, allocations: 3.938 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.4122, allocations: 0 / 1.222 GB, free: 12.58 MB / 0.9825 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.0004974/0.4127, allocations: 379.1 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4128, allocations: 8.031 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.4128, allocations: 12.84 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.4131, allocations: 192.3 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4131, allocations: 8.359 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.4131, allocations: 12.38 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.4133, allocations: 91.8 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4133, allocations: 192 / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4133, allocations: 7.938 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.4133, allocations: 4 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.373e-05/0.4134, allocations: 35.98 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.414, allocations: 436.7 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.606e-05/0.414, allocations: 33.22 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.4141, allocations: 25.8 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.4141, allocations: 4 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.4141, allocations: 34.56 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.4141, allocations: 0 / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001846/0.4143, allocations: 53.53 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.4143, allocations: 85.09 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.4145, allocations: 156.4 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.4145, allocations: 25.95 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.4146, allocations: 112.1 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-06/0.4146, allocations: 7.953 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.4146, allocations: 25.66 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4148, allocations: 310.8 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.4148, allocations: 11.98 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.832e-05/0.4148, allocations: 25.64 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.4149, allocations: 29.66 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4149, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.665e-05/0.415, allocations: 57.64 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.415, allocations: 4 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.415, allocations: 11.88 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.415, allocations: 4 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.4151, allocations: 8 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4151, allocations: 3.938 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.4151, allocations: 12 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.4151, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 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.263e-05/0.4152, allocations: 113.8 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.4152, allocations: 7.953 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.4153, allocations: 15.8 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.4153, allocations: 0 / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4153, allocations: 0 / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4153, allocations: 0 / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.4157, allocations: 478.7 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4157, allocations: 0 / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.4157, allocations: 4 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4157, allocations: 0 / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.4157, allocations: 4 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.4157, allocations: 0 / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4157, allocations: 3.984 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.015e-05/0.4158, allocations: 85.89 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.4158, allocations: 89.05 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.4158, allocations: 0 / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.957e-05/0.4159, allocations: 0 / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.4159, allocations: 4 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.4159, allocations: 0 / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.287e-05/0.416, allocations: 121.3 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.416, allocations: 4.031 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001887/0.4162, allocations: 12 kB / 1.225 GB, free: 9.094 MB / 0.9825 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.0001233/0.4163, allocations: 99.23 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.734e-05/0.4164, allocations: 19.92 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4164, allocations: 0 / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.025e-06/0.4164, allocations: 7.938 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.4165, allocations: 13.97 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.4169, allocations: 170.8 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.4172, allocations: 0.6963 MB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.43e-05/0.4172, allocations: 4.438 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.4172, allocations: 11.44 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.4172, allocations: 0 / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of Templates: time 0.00271/0.4199, allocations: 464.6 kB / 1.226 GB, free: 7.555 MB / 0.9825 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=480 -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/jenkins/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