Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006865/0.006865, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.001762/0.001762, allocations: 202.9 kB / 16.68 MB, free: 5.973 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.656/2.656, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 71.88 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2747, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001836/0.2766, allocations: 0.8346 MB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 9.86e-05/0.2767, allocations: 39.8 kB / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.2768, allocations: 0 / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.2768, allocations: 7.875 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.127e-05/0.2769, allocations: 15.84 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.154e-05/0.2769, allocations: 19.98 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.574e-05/0.277, allocations: 59.84 kB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.2772, allocations: 51.86 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.2772, allocations: 27.8 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.2773, allocations: 23.86 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.2773, allocations: 12 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-06/0.2773, allocations: 7.938 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.2774, allocations: 19.92 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.2774, allocations: 35.73 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.2775, allocations: 75.64 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2775, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2775, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2775, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 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.0004015/0.2779, allocations: 375.2 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.278, allocations: 12.03 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.278, allocations: 42.73 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.2781, allocations: 12.84 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.2783, allocations: 196.2 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.2783, allocations: 8.359 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.2783, allocations: 8.375 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2784, allocations: 101.4 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2785, allocations: 3.938 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.2785, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2785, allocations: 8 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.2786, allocations: 35.98 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.2791, allocations: 432.7 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.702e-05/0.2791, allocations: 41.2 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.143e-05/0.2792, allocations: 21.78 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-06/0.2792, allocations: 0 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.2792, allocations: 38.59 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2792, allocations: 0 / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001432/0.2794, allocations: 53.53 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.2794, allocations: 85.34 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.2796, allocations: 160.8 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.2796, allocations: 25.7 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.2797, allocations: 104.1 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.2797, allocations: 3.953 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.2797, allocations: 25.66 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2798, allocations: 314.8 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.2799, allocations: 11.98 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.315e-05/0.2799, allocations: 21.66 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/0.2799, allocations: 33.66 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.28, allocations: 0 / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.66e-05/0.28, allocations: 57.58 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2801, allocations: 7.938 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2801, allocations: 4 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.2801, allocations: 4.062 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/0.2801, allocations: 7.938 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2801, allocations: 0 / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.2802, allocations: 7.938 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.2802, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 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.13e-05/0.2803, allocations: 113.8 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.2803, allocations: 11.89 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.2803, allocations: 15.86 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.2803, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2804, allocations: 4 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.2804, allocations: 0 / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.2807, allocations: 474.7 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2808, allocations: 4 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.2808, allocations: 0 / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2808, allocations: 0 / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.2808, allocations: 4 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2808, allocations: 4.047 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2808, allocations: 4 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.85e-05/0.2809, allocations: 77.83 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.281, allocations: 93.05 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.281, allocations: 0 / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.281, allocations: 4 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.281, allocations: 8.125 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.281, allocations: 0 / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.614e-05/0.2811, allocations: 121.1 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2811, allocations: 0 / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001802/0.2813, allocations: 8 kB / 1.224 GB, free: 9.586 MB / 0.9825 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.0003943/0.2817, allocations: 0.6215 MB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.99e-05/0.2818, allocations: 16 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2818, allocations: 0 / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.139e-05/0.2818, allocations: 11.88 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.282, allocations: 11.98 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.2831, allocations: 1.332 MB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.2834, allocations: 0.6929 MB / 1.227 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.2834, allocations: 12.36 kB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.2835, allocations: 15.44 kB / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.2835, allocations: 4 kB / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8375/1.121, allocations: 1.578 MB / 1.229 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/11.38, allocations: 15.98 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches