Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001126/0.001126, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009385/0.009385, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.621/2.621, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.0004041, allocations: 11.98 kB / 0.8728 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8955/0.8959, allocations: 153.8 MB / 1.023 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001145/0.8971, allocations: 0.543 MB / 1.024 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000131/0.8972, allocations: 35.84 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.8973, allocations: 4 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.8973, allocations: 3.938 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/0.8974, allocations: 3.938 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.822e-05/0.8975, allocations: 23.98 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.47e-05/0.8976, allocations: 59.78 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.8977, allocations: 35.95 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.8978, allocations: 23.88 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.8979, allocations: 19.86 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.8979, allocations: 3.938 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.8979, allocations: 4 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.8979, allocations: 7.922 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.898, allocations: 53.52 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.807e-05/0.8981, allocations: 65.8 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8981, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8981, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8981, allocations: 0 / 1.024 GB, free: 15.18 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005201/0.8986, allocations: 383.1 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.8987, allocations: 8.031 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.8987, allocations: 8.844 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.899, allocations: 188.2 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.8991, allocations: 4.375 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.8991, allocations: 8.375 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.8993, allocations: 95.88 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8993, allocations: 4.188 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.8993, allocations: 3.938 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.8993, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.8994, allocations: 35.98 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.9, allocations: 436.5 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.755e-05/0.9001, allocations: 45.09 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.9001, allocations: 25.83 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/0.9001, allocations: 4.031 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.9002, allocations: 30.56 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9002, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001881/0.9004, allocations: 53.48 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.9004, allocations: 81.11 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.9006, allocations: 165.1 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.9006, allocations: 25.7 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.9007, allocations: 104 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.9007, allocations: 3.906 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.9008, allocations: 13.97 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.9009, allocations: 326.8 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.9009, allocations: 4 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/0.901, allocations: 21.7 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.901, allocations: 25.66 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.901, allocations: 0 / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.19e-05/0.9011, allocations: 61.61 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.9011, allocations: 4 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.9011, allocations: 7.922 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.9012, allocations: 3.938 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.9012, allocations: 11.94 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.9013, allocations: 0 / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.9013, allocations: 3.906 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.9013, allocations: 4 kB / 1.026 GB, free: 12.75 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 (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.127e-05/0.9014, allocations: 113.8 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.9014, allocations: 11.97 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.9015, allocations: 15.89 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.9015, allocations: 7.984 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.9015, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.9015, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.9019, allocations: 466.8 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.9019, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.902, allocations: 12.06 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.902, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.902, allocations: 3.938 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.902, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.902, allocations: 4 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.973e-05/0.9021, allocations: 85.77 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.9022, allocations: 88.95 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.9022, allocations: 8.016 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.9022, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.9022, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.9022, allocations: 4 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.075e-05/0.9023, allocations: 123.2 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9023, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001849/0.9025, allocations: 4 kB / 1.027 GB, free: 11.7 MB / 0.7794 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.0001289/0.9027, allocations: 103.2 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.048e-05/0.9027, allocations: 19.94 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9028, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.9028, allocations: 4 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.9029, allocations: 18.31 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.9033, allocations: 180.8 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.9036, allocations: 0.6926 MB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.042e-05/0.9036, allocations: 12.36 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.9036, allocations: 11.44 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.9036, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.002521/0.9062, allocations: 428.5 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches