Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001163/0.001163, allocations: 110.6 kB / 16.27 MB, free: 6.414 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.001155/0.001155, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 390.2 MB / 0.6653 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 69.05 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2989, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002386/0.3013, allocations: 0.8162 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001517/0.3015, allocations: 51.72 kB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.3016, allocations: 0 / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.195e-05/0.3016, allocations: 7.875 kB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.312e-05/0.3018, allocations: 11.88 kB / 0.9511 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.178e-05/0.3018, allocations: 15.97 kB / 0.9512 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.3019, allocations: 63.86 kB / 0.9512 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.3021, allocations: 43.95 kB / 0.9513 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.3022, allocations: 23.88 kB / 0.9513 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.388e-05/0.3022, allocations: 31.78 kB / 0.9513 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3023, allocations: 4 kB / 0.9513 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.3023, allocations: 8 kB / 0.9513 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.3023, allocations: 11.94 kB / 0.9513 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.3024, allocations: 39.78 kB / 0.9514 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.3025, allocations: 64 kB / 0.9514 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.3025, allocations: 11.94 kB / 0.9514 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3025, allocations: 0 / 0.9514 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3025, allocations: 0 / 0.9514 GB, free: 7.684 MB / 0.7325 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.0004356/0.3029, allocations: 375.1 kB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.303, allocations: 12.03 kB / 0.9518 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.303, allocations: 8.844 kB / 0.9518 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3033, allocations: 200.1 kB / 0.952 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3033, allocations: 384 / 0.952 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.3033, allocations: 12.38 kB / 0.952 GB, free: 7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3035, allocations: 95.84 kB / 0.9521 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3035, allocations: 192 / 0.9521 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3035, allocations: 7.938 kB / 0.9521 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.088e-06/0.3035, allocations: 4 kB / 0.9521 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.289e-05/0.3036, allocations: 39.92 kB / 0.9522 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.3041, allocations: 428.6 kB / 0.9526 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/0.3042, allocations: 37.34 kB / 0.9526 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.3042, allocations: 21.77 kB / 0.9526 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.3042, allocations: 0 / 0.9526 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3043, allocations: 38.56 kB / 0.9527 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/0.3043, allocations: 0 / 0.9527 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001691/0.3045, allocations: 57.48 kB / 0.9527 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.3045, allocations: 81.05 kB / 0.9528 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.3047, allocations: 168.3 kB / 0.953 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.3047, allocations: 25.7 kB / 0.953 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.3048, allocations: 116.2 kB / 0.9531 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.3048, allocations: 3.906 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.3048, allocations: 17.72 kB / 0.9531 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3049, allocations: 318.8 kB / 0.9534 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.305, allocations: 4 kB / 0.9534 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.305, allocations: 21.7 kB / 0.9534 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.353e-05/0.305, allocations: 29.72 kB / 0.9535 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.305, allocations: 0 / 0.9535 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001032/0.3052, allocations: 61.53 kB / 0.9535 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3052, allocations: 4 kB / 0.9535 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3052, allocations: 3.938 kB / 0.9535 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3052, allocations: 4 kB / 0.9535 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.3053, allocations: 8 kB / 0.9536 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3053, allocations: 0 / 0.9536 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.3053, allocations: 11.84 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.3053, allocations: 4.062 kB / 0.9536 GB, free: 5.246 MB / 0.7325 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 7.503e-05/0.3054, allocations: 123.7 kB / 0.9537 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.3055, allocations: 7.906 kB / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.3055, allocations: 19.8 kB / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3055, allocations: 0 / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3055, allocations: 0 / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3055, allocations: 0 / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.3059, allocations: 470.8 kB / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3059, allocations: 0 / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.306, allocations: 4 kB / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.306, allocations: 0 / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.306, allocations: 4.094 kB / 0.9542 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.306, allocations: 0 / 0.9542 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.306, allocations: 0 / 0.9542 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.176e-05/0.3061, allocations: 89.88 kB / 0.9543 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.3061, allocations: 89 kB / 0.9543 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3062, allocations: 3.938 kB / 0.9543 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.3062, allocations: 0 / 0.9543 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.3062, allocations: 7.938 kB / 0.9544 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.3062, allocations: 0 / 0.9544 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.638e-05/0.3063, allocations: 125.3 kB / 0.9545 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3063, allocations: 0 / 0.9545 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000193/0.3065, allocations: 8.031 kB / 0.9545 GB, free: 4.203 MB / 0.7325 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.0001097/0.3066, allocations: 99.25 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.65e-05/0.3067, allocations: 23.98 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3067, allocations: 3.938 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.3067, allocations: 4 kB / 0.9546 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.3069, allocations: 13.14 kB / 0.9546 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.3072, allocations: 180.8 kB / 0.9548 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3075, allocations: 0.7 MB / 0.9555 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.3075, allocations: 15.44 kB / 0.9555 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of SimCode: time 4e-07/0.3075, allocations: 0 / 0.9555 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of Templates: time 0.002401/0.3099, allocations: 0.8676 MB / 0.9563 GB, free: 2.227 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches