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.001193/0.001193, allocations: 110.2 kB / 16.41 MB, free: 6.477 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.001292/0.001292, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.529/2.529, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 76.03 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8886/0.89, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002994/0.8931, allocations: 0.8376 MB / 1.168 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002172/0.8933, allocations: 43.8 kB / 1.168 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.8935, allocations: 0 / 1.168 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.599e-05/0.8936, allocations: 11.86 kB / 1.168 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.8937, allocations: 7.875 kB / 1.168 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.818e-05/0.8938, allocations: 19.98 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.894, allocations: 63.83 kB / 1.168 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.8942, allocations: 43.97 kB / 1.168 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.882e-05/0.8943, allocations: 23.88 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.8944, allocations: 27.84 kB / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.8944, allocations: 11.94 kB / 1.168 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.8944, allocations: 4 kB / 1.168 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.378e-05/0.8945, allocations: 19.94 kB / 1.168 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.8945, allocations: 35.8 kB / 1.168 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.8947, allocations: 67.7 kB / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8947, allocations: 0 / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.946e-06/0.8947, allocations: 0 / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.8947, allocations: 3.938 kB / 1.168 GB, free: 2.664 MB / 0.8887 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.0005994/0.8953, allocations: 384.8 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.8954, allocations: 8.922 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.8954, allocations: 20.78 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.8957, allocations: 192.2 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.8957, allocations: 4.375 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.8957, allocations: 8.375 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.8959, allocations: 100.8 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.896, allocations: 192 / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.896, allocations: 7.938 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.896, allocations: 0 / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.57e-05/0.8961, allocations: 35.98 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.8968, allocations: 440.5 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.401e-05/0.8969, allocations: 41.16 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.8969, allocations: 21.83 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.8969, allocations: 4 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.897, allocations: 38.59 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.897, allocations: 0 / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.00021/0.8972, allocations: 61.47 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.8973, allocations: 77.11 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.8974, allocations: 154.5 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.8974, allocations: 33.7 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.8975, allocations: 104 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.8975, allocations: 3.906 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.8976, allocations: 21.7 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.8978, allocations: 318.8 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.8978, allocations: 4 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.8978, allocations: 21.7 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.8979, allocations: 29.66 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8979, allocations: 0 / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.185e-05/0.898, allocations: 61.59 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.898, allocations: 4 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.898, allocations: 3.938 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.898, allocations: 0 / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.162e-05/0.8981, allocations: 8 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.8981, allocations: 7.875 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.8982, allocations: 7.969 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.8982, allocations: 4 kB / 1.171 GB, free: 228 kB / 0.8887 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 0.0001057/0.8983, allocations: 113.8 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.8983, allocations: 7.906 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.8984, allocations: 23.73 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8984, allocations: 4 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8984, allocations: 0 / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8984, allocations: 0 / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.8989, allocations: 470.8 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8989, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.8989, allocations: 4 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.8989, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.8989, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.899, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.899, allocations: 4 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.8991, allocations: 89.83 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.8992, allocations: 92.94 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.8992, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.8992, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.8992, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.8992, allocations: 4 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001149/0.8993, allocations: 125.7 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8994, allocations: 4.031 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001915/0.8996, allocations: 7.906 kB / 1.172 GB, free: 15.17 MB / 0.9044 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.0001473/0.8997, allocations: 99.25 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.8998, allocations: 19.92 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8998, allocations: 0 / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-05/0.8998, allocations: 4 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.9, allocations: 12.19 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.9004, allocations: 188.5 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.9008, allocations: 0.7002 MB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.9008, allocations: 11.44 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of SimCode: time 5.61e-07/0.9008, allocations: 0 / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of Templates: time 0.002864/0.9037, allocations: 0.8677 MB / 1.173 GB, free: 13.2 MB / 0.9044 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