Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001425/0.001425, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001601/0.001601, allocations: 194.9 kB / 16.14 MB, free: 6.711 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.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.899/2.899, allocations: 472.6 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 69.69 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3982, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002399/0.4006, allocations: 0.8807 MB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000129/0.4008, allocations: 39.78 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.157e-05/0.4008, allocations: 4 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.363e-05/0.4009, allocations: 11.86 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.401, allocations: 3.938 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.906e-05/0.4011, allocations: 16 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.4012, allocations: 59.84 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.4014, allocations: 35.97 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.023e-05/0.4014, allocations: 27.8 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.4015, allocations: 27.8 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.4015, allocations: 4 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.4016, allocations: 4 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.4016, allocations: 15.92 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.4016, allocations: 35.78 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.4018, allocations: 68.06 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4018, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4018, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.4018, allocations: 0 / 1.069 GB, free: 9.609 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.0005333/0.4023, allocations: 384.8 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4024, allocations: 12.02 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.4024, allocations: 8.844 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.4027, allocations: 200.1 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.4027, allocations: 12.38 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.4027, allocations: 4.375 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.4029, allocations: 87.95 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4029, allocations: 4.125 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.403, allocations: 11.92 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.403, allocations: 3.984 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.511e-05/0.4031, allocations: 35.98 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.4037, allocations: 432.7 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.073e-05/0.4037, allocations: 45.09 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.4038, allocations: 21.84 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.4038, allocations: 4 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.4038, allocations: 38.48 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.4038, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001971/0.404, allocations: 49.55 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.4041, allocations: 85.05 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.4043, allocations: 162.2 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.4043, allocations: 29.95 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.4044, allocations: 104 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.4044, allocations: 7.906 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.4044, allocations: 13.72 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4046, allocations: 322.8 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.4046, allocations: 8 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.4046, allocations: 17.72 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/0.4047, allocations: 33.7 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.4047, allocations: 0 / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.199e-05/0.4048, allocations: 53.55 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4048, allocations: 8 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.4048, allocations: 3.938 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4048, allocations: 3.938 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.4049, allocations: 7.984 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.4049, allocations: 0 / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.4049, allocations: 23.84 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.405, allocations: 4 kB / 1.071 GB, free: 7.148 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.157e-05/0.405, allocations: 111.2 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.4051, allocations: 11.91 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.4051, allocations: 11.81 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4051, allocations: 3.984 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4051, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4052, allocations: 4 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.4055, allocations: 470.8 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4055, allocations: 4 kB / 1.071 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.4055, allocations: 0 / 1.071 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4055, allocations: 4 kB / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.4056, allocations: 0 / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4056, allocations: 0 / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4056, allocations: 0 / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.66e-05/0.4056, allocations: 85.83 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.4057, allocations: 89.02 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.4057, allocations: 0 / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.086e-05/0.4057, allocations: 4 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.4058, allocations: 3.984 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.4058, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.673e-05/0.4059, allocations: 121.7 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4059, allocations: 4.031 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001839/0.4061, allocations: 11.91 kB / 1.072 GB, free: 6.113 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.0001253/0.4062, allocations: 99.25 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.181e-05/0.4063, allocations: 19.94 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4063, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.4063, allocations: 4 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.4065, allocations: 13.91 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.4068, allocations: 180.5 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.407, allocations: 0.6965 MB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.344e-05/0.4071, allocations: 8.422 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.4071, allocations: 11.44 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.4071, allocations: 0 / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.002516/0.4096, allocations: 436.7 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches