Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 98.72 kB / 16.02 MB, free: 76 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.001555/0.001556, allocations: 180.3 kB / 16.92 MB, free: 6.918 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.468/1.468, allocations: 223.3 MB / 241 MB, free: 5.348 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.705/2.705, allocations: 437.8 MB / 0.7128 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003649, allocations: 8 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8106/0.811, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001084/0.8121, allocations: 0.5432 MB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001298/0.8122, allocations: 39.78 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.8123, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.8123, allocations: 3.938 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.8124, allocations: 7.984 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.411e-05/0.8125, allocations: 16 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.608e-05/0.8126, allocations: 63.72 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.8127, allocations: 39.95 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.984e-05/0.8128, allocations: 23.86 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.8129, allocations: 15.88 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.8129, allocations: 4 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-06/0.8129, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.8129, allocations: 11.92 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.813, allocations: 49.52 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.513e-05/0.8131, allocations: 53.84 kB / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8131, allocations: 7.875 kB / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8131, allocations: 0 / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.8131, allocations: 0 / 1.025 GB, free: 15 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.0004218/0.8135, allocations: 371.2 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.8136, allocations: 12.03 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.8136, allocations: 12.84 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.8139, allocations: 184.2 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.8139, allocations: 4.375 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.8139, allocations: 8.375 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.8141, allocations: 95.88 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.8141, allocations: 8.188 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.8141, allocations: 7.938 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.8141, allocations: 4 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.716e-05/0.8142, allocations: 35.98 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.8148, allocations: 440.5 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.621e-05/0.8149, allocations: 37.22 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.8149, allocations: 17.81 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.8149, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.815, allocations: 42.55 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.325e-06/0.815, allocations: 7.984 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.8151, allocations: 53.48 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.8152, allocations: 77.11 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.8154, allocations: 160.7 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.8154, allocations: 29.7 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.8155, allocations: 108 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.8155, allocations: 3.906 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.8155, allocations: 9.969 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.8156, allocations: 326.8 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.8157, allocations: 4 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/0.8157, allocations: 25.7 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.314e-05/0.8157, allocations: 29.59 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8158, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.009e-05/0.8158, allocations: 57.55 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.8159, allocations: 13.81 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.8159, allocations: 3.938 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.8159, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.816, allocations: 11.98 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.816, allocations: 4 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.816, allocations: 3.906 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.816, allocations: 4 kB / 1.027 GB, free: 12.56 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.595e-05/0.8161, allocations: 109.8 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.8162, allocations: 11.97 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.8162, allocations: 15.8 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8162, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.8162, allocations: 4 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.8162, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.8166, allocations: 470.8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.8167, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.8167, allocations: 8.062 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.8167, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.8167, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8167, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8167, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.884e-05/0.8168, allocations: 89.77 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.8169, allocations: 84.95 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.8169, allocations: 8.031 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.8169, allocations: 3.984 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.817, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.817, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.546e-05/0.8171, allocations: 119.2 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8171, allocations: 0 / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002039/0.8173, allocations: 12 kB / 1.028 GB, free: 11.53 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.0001137/0.8174, allocations: 99.23 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.93e-05/0.8175, allocations: 23.94 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8175, allocations: 0 / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.19e-05/0.8175, allocations: 4 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.8177, allocations: 11.94 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.818, allocations: 218.3 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.8183, allocations: 0.6926 MB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.8183, allocations: 11.44 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.8184, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.002571/0.8209, allocations: 0.856 MB / 1.029 GB, free: 9.539 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches