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.001266/0.001266, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001832/0.001833, allocations: 191.6 kB / 16.25 MB, free: 6.633 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.524/1.524, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001395, allocations: 66.34 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3788, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002485/0.3814, allocations: 0.8806 MB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001474/0.3815, allocations: 43.84 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.3816, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.566e-05/0.3817, allocations: 7.922 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.124e-05/0.3818, allocations: 3.938 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.306e-05/0.3818, allocations: 19.98 kB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.382, allocations: 59.8 kB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3821, allocations: 43.95 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.528e-05/0.3822, allocations: 23.88 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.613e-05/0.3823, allocations: 31.84 kB / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.3823, allocations: 4 kB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.3823, allocations: 8 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.3823, allocations: 15.92 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.3824, allocations: 43.67 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.3825, allocations: 64.06 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3825, allocations: 0 / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3825, allocations: 0 / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3825, allocations: 0 / 1.069 GB, free: 9.469 MB / 0.8262 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.00045/0.383, allocations: 387.1 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.383, allocations: 8.031 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.3831, allocations: 12.84 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.3833, allocations: 196.1 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3833, allocations: 8.375 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.3833, allocations: 8.375 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3835, allocations: 97.44 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3835, allocations: 192 / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3835, allocations: 7.938 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3835, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.3836, allocations: 35.98 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.3842, allocations: 440.5 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.461e-05/0.3842, allocations: 33.16 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.3843, allocations: 29.83 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.3843, allocations: 8.031 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.3843, allocations: 30.56 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3843, allocations: 0 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001782/0.3845, allocations: 61.48 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.3846, allocations: 77.11 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.3847, allocations: 160.5 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3847, allocations: 25.95 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.3848, allocations: 112 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.3848, allocations: 3.906 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.3849, allocations: 21.7 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.385, allocations: 318.8 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.385, allocations: 4 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.385, allocations: 21.7 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.258e-05/0.3851, allocations: 29.66 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3851, allocations: 0 / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.626e-05/0.3852, allocations: 61.59 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3852, allocations: 4 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3852, allocations: 3.938 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3852, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.3853, allocations: 11.94 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3853, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.3854, allocations: 15.84 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.3854, allocations: 4 kB / 1.071 GB, free: 7.016 MB / 0.8262 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.12e-05/0.3854, allocations: 115.6 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.3855, allocations: 11.84 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.3855, allocations: 15.8 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3855, allocations: 4 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3855, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3855, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.3859, allocations: 470.8 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3859, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.3859, allocations: 4 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.386, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.386, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.386, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.386, allocations: 4 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.986e-05/0.3861, allocations: 89.83 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.3861, allocations: 89 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.3861, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.3862, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.3862, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3862, allocations: 4 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.29e-05/0.3863, allocations: 125.9 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3863, allocations: 4.031 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001854/0.3865, allocations: 7.906 kB / 1.072 GB, free: 5.977 MB / 0.8262 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.0001274/0.3866, allocations: 99.34 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.062e-05/0.3867, allocations: 19.92 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3867, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.3867, allocations: 4 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.3869, allocations: 11.94 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.3872, allocations: 183 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.3875, allocations: 0.7079 MB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.3875, allocations: 4.438 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.3875, allocations: 11.44 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3875, allocations: 0 / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of Templates: time 0.002608/0.3902, allocations: 464.4 kB / 1.073 GB, free: 4.422 MB / 0.8262 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/jenkins/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