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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008636/0.0008636, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 172.9 kB / 16.92 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 437.8 MB / 0.7128 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003706, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7089/0.7093, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001192/0.7105, allocations: 0.5471 MB / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001547/0.7107, allocations: 39.78 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.7108, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.7108, allocations: 7.922 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.7109, allocations: 8 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.034e-05/0.711, allocations: 11.98 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.7111, allocations: 59.8 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.7113, allocations: 43.95 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.833e-05/0.7113, allocations: 11.88 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.7114, allocations: 19.86 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.7114, allocations: 4 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.7114, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.7115, allocations: 11.94 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.7115, allocations: 57.44 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.488e-05/0.7116, allocations: 57.78 kB / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.7116, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7116, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.7116, allocations: 0 / 1.025 GB, free: 15.02 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.0004161/0.7121, allocations: 367.2 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.7121, allocations: 12.03 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.7122, allocations: 8.844 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.7124, allocations: 196.2 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.7124, allocations: 4.375 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.7124, allocations: 8.375 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.7126, allocations: 91.89 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.7126, allocations: 192 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.7126, allocations: 3.938 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.7127, allocations: 4 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.288e-05/0.7128, allocations: 39.92 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.7133, allocations: 440.5 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.728e-05/0.7134, allocations: 45.17 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.7135, allocations: 25.84 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.7135, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.7135, allocations: 34.56 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.7135, allocations: 0 / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001836/0.7137, allocations: 57.47 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.7138, allocations: 81.11 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.714, allocations: 168.1 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.714, allocations: 25.7 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.7141, allocations: 99.98 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.077e-05/0.7141, allocations: 7.891 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.7141, allocations: 13.72 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7142, allocations: 318.8 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.7142, allocations: 7.984 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.7143, allocations: 17.72 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.7143, allocations: 29.66 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.7143, allocations: 3.938 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.885e-05/0.7144, allocations: 65.53 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.7145, allocations: 4 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7145, allocations: 3.938 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.7145, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.559e-05/0.7146, allocations: 8 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.7146, allocations: 8.047 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.7146, allocations: 3.906 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.7146, allocations: 4 kB / 1.027 GB, free: 12.59 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.431e-05/0.7147, allocations: 113.8 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.7148, allocations: 7.906 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.7148, allocations: 15.8 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7148, allocations: 4 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7148, allocations: 0 / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.7148, allocations: 0 / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.7152, allocations: 470.8 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.7152, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.7153, allocations: 4 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.7153, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.7153, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.7153, allocations: 3.984 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.7153, allocations: 7.938 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.595e-05/0.7154, allocations: 81.91 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.7155, allocations: 97.02 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.7155, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.7155, allocations: 3.938 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.7155, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.7155, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.178e-05/0.7156, allocations: 126.1 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7156, allocations: 4 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001889/0.7158, allocations: 4 kB / 1.028 GB, free: 11.55 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.000131/0.716, allocations: 103.2 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.123e-05/0.7161, allocations: 19.92 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7161, allocations: 0 / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.7161, allocations: 4 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.7163, allocations: 18.44 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.7166, allocations: 210.1 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.717, allocations: 0.7004 MB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.717, allocations: 11.44 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.717, allocations: 0 / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.002497/0.7195, allocations: 0.8365 MB / 1.029 GB, free: 9.574 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/jenkins1/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