Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001334/0.001334, allocations: 118.1 kB / 16.42 MB, free: 6.48 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.001341/0.001341, allocations: 185.7 kB / 17.34 MB, free: 5.746 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.609/1.609, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.91 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.079, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002468/1.082, allocations: 0.8238 MB / 1.227 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001694/1.082, allocations: 39.8 kB / 1.227 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.899e-05/1.082, allocations: 0 / 1.227 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.361e-05/1.082, allocations: 7.875 kB / 1.227 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/1.082, allocations: 15.91 kB / 1.227 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.962e-05/1.082, allocations: 19.98 kB / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/1.082, allocations: 67.78 kB / 1.227 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/1.083, allocations: 39.88 kB / 1.227 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/1.083, allocations: 31.86 kB / 1.227 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/1.083, allocations: 31.73 kB / 1.227 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/1.083, allocations: 8 kB / 1.227 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/1.083, allocations: 4 kB / 1.227 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/1.083, allocations: 15.98 kB / 1.227 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/1.083, allocations: 35.69 kB / 1.227 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/1.083, allocations: 75.2 kB / 1.228 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.083, allocations: 0 / 1.228 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.873e-06/1.083, allocations: 0 / 1.228 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.655e-06/1.083, allocations: 0 / 1.228 GB, free: 12.34 MB / 0.9512 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.0005355/1.084, allocations: 380.1 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/1.084, allocations: 8.031 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/1.084, allocations: 16.84 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/1.084, allocations: 192.2 kB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/1.084, allocations: 8.375 kB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/1.084, allocations: 4.375 kB / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/1.084, allocations: 97.58 kB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/1.084, allocations: 8.188 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/1.084, allocations: 7.938 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.084, allocations: 0 / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/1.084, allocations: 39.91 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/1.085, allocations: 436.6 kB / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.127e-05/1.085, allocations: 49.27 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/1.085, allocations: 21.84 kB / 1.229 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/1.085, allocations: 0 / 1.229 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/1.085, allocations: 30.56 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 3.316e-06/1.085, allocations: 0 / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002009/1.085, allocations: 69.45 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/1.085, allocations: 77.11 kB / 1.229 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/1.086, allocations: 160.3 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/1.086, allocations: 25.7 kB / 1.229 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/1.086, allocations: 104 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/1.086, allocations: 7.953 kB / 1.229 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/1.086, allocations: 21.61 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.086, allocations: 323.1 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/1.086, allocations: 12 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-05/1.086, allocations: 13.72 kB / 1.23 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.588e-05/1.086, allocations: 29.7 kB / 1.23 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.086, allocations: 0 / 1.23 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.719e-05/1.086, allocations: 53.59 kB / 1.23 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.086, allocations: 12.06 kB / 1.23 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/1.086, allocations: 3.938 kB / 1.23 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/1.086, allocations: 3.938 kB / 1.23 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/1.086, allocations: 11.98 kB / 1.23 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/1.086, allocations: 0 / 1.23 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/1.086, allocations: 7.938 kB / 1.23 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/1.086, allocations: 4 kB / 1.23 GB, free: 9.883 MB / 0.9512 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.917e-05/1.086, allocations: 113.8 kB / 1.23 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/1.086, allocations: 7.953 kB / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/1.087, allocations: 11.81 kB / 1.23 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.087, allocations: 3.938 kB / 1.23 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.087, allocations: 7.984 kB / 1.23 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/1.087, allocations: 89.02 kB / 1.23 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/1.087, allocations: 4 kB / 1.23 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/1.087, allocations: 0 / 1.23 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/1.087, allocations: 0 / 1.23 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001206/1.087, allocations: 196.2 kB / 1.23 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001662/1.087, allocations: 298.1 kB / 1.23 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.496e-05/1.087, allocations: 8 kB / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.62e-05/1.087, allocations: 120.3 kB / 1.23 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of Backend: time 3.91e-07/1.087, allocations: 0 / 1.23 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004466/1.088, allocations: 94.38 kB / 1.231 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004855/1.088, allocations: 0.6158 MB / 1.231 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of Templates: time 0.002929/1.091, allocations: 0.5261 MB / 1.232 GB, free: 7.691 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches