Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00884/0.008841, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.524/1.524, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.842/2.842, allocations: 437.7 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003639, allocations: 12 kB / 0.8728 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6891/0.6895, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001137/0.6907, allocations: 0.5897 MB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001284/0.6909, allocations: 63.7 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.6909, allocations: 4 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.691, allocations: 3.938 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.6911, allocations: 7.922 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.872e-05/0.6911, allocations: 19.98 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.6912, allocations: 75.78 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.6914, allocations: 49.08 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.6915, allocations: 27.8 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.6915, allocations: 27.8 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.6915, allocations: 4 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.6916, allocations: 4 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.6916, allocations: 11.86 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.6917, allocations: 57.45 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.6918, allocations: 93.55 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6918, allocations: 0 / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6918, allocations: 0 / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.6918, allocations: 0 / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004112/0.6922, allocations: 379.4 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.6923, allocations: 12.03 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.6923, allocations: 16.75 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.6925, allocations: 206.8 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.6925, allocations: 8.562 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.6926, allocations: 12.38 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.6927, allocations: 104.6 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.6927, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.6928, allocations: 4 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6928, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.737e-05/0.6929, allocations: 51.92 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.6935, allocations: 476.4 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.246e-05/0.6936, allocations: 49.16 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.6936, allocations: 29.78 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.6936, allocations: 7.984 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.6937, allocations: 30.56 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.6937, allocations: 0 / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001851/0.6939, allocations: 65.55 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.6939, allocations: 81.11 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.6941, allocations: 173.2 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.6941, allocations: 25.7 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.6942, allocations: 115.8 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.6942, allocations: 11.81 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.6942, allocations: 9.719 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6944, allocations: 331 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.6944, allocations: 8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.6944, allocations: 25.7 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.13e-05/0.6945, allocations: 41.64 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.6945, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.608e-05/0.6946, allocations: 69.53 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.6946, allocations: 4 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.6946, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.6947, allocations: 7.984 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.6947, allocations: 8 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.6947, allocations: 4 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.6948, allocations: 7.844 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.6948, allocations: 8.109 kB / 1.026 GB, free: 12.27 MB / 0.7794 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 (6): * Single equations (assignments): 6 * 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.471e-05/0.6949, allocations: 121.8 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.6949, allocations: 7.906 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.695, allocations: 20.55 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.695, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.695, allocations: 4 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.695, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.6954, allocations: 0.5042 MB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6955, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.6955, allocations: 11.98 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6955, allocations: 128 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.6955, allocations: 8.047 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6955, allocations: 7.938 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6955, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.6956, allocations: 103.5 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.6957, allocations: 93 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.6957, allocations: 3.938 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.881e-05/0.6958, allocations: 4 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.6958, allocations: 4 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.6958, allocations: 4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.55e-05/0.6959, allocations: 125.6 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6959, allocations: 4 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000201/0.6961, allocations: 12 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0001138/0.6962, allocations: 115.1 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.873e-05/0.6963, allocations: 24 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6963, allocations: 0 / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-05/0.6964, allocations: 15.92 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.6966, allocations: 15.88 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.6969, allocations: 238.4 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.6972, allocations: 0.7043 MB / 1.028 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.6972, allocations: 4.562 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.6973, allocations: 11.44 kB / 1.028 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6973, allocations: 0 / 1.028 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.002437/0.6997, allocations: 484.8 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches