Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.00557/0.00557, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001499/0.001499, allocations: 194.9 kB / 16.67 MB, free: 5.977 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.67/2.67, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 79.88 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2721, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001822/0.2739, allocations: 0.833 MB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 8.013e-05/0.274, allocations: 39.8 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.274, allocations: 0 / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.2741, allocations: 11.86 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.656e-05/0.2741, allocations: 11.86 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.415e-05/0.2742, allocations: 19.98 kB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.28e-05/0.2743, allocations: 63.84 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2744, allocations: 55.83 kB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.2744, allocations: 23.81 kB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.2745, allocations: 27.84 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2745, allocations: 8 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-06/0.2745, allocations: 8 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.2745, allocations: 15.94 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.2746, allocations: 39.73 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.441e-05/0.2747, allocations: 75.58 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.2747, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 6.51e-07/0.2747, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.2747, allocations: 0 / 1.221 GB, free: 13.09 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.0003554/0.275, allocations: 379.1 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.463e-05/0.2751, allocations: 11.97 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.2751, allocations: 42.75 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.2751, allocations: 16.83 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.2753, allocations: 188.3 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2753, allocations: 8.375 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.2754, allocations: 8.312 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.2755, allocations: 91.86 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2755, allocations: 3.938 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.2755, allocations: 4 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.2755, allocations: 4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.894e-05/0.2756, allocations: 43.91 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.2761, allocations: 432.7 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.402e-05/0.2761, allocations: 41.19 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.2761, allocations: 21.84 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-06/0.2762, allocations: 4 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.2762, allocations: 30.56 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2762, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.2763, allocations: 57.52 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.2764, allocations: 81.36 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.2765, allocations: 164.4 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.2765, allocations: 29.7 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.2766, allocations: 100.1 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.151e-06/0.2766, allocations: 7.891 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.2766, allocations: 21.67 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2768, allocations: 318.8 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.2768, allocations: 4 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/0.2768, allocations: 29.66 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/0.2769, allocations: 29.7 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2769, allocations: 0 / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.593e-05/0.2769, allocations: 53.59 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.277, allocations: 9.812 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-06/0.277, allocations: 4 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.277, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.465e-05/0.277, allocations: 12.05 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.277, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.2771, allocations: 7.938 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-06/0.2771, allocations: 0 / 1.224 GB, free: 10.6 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 7.402e-05/0.2772, allocations: 113.8 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.2772, allocations: 15.89 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.2772, allocations: 11.88 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2772, allocations: 7.922 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2773, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2773, allocations: 8 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.2776, allocations: 470.7 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2777, allocations: 4 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.2777, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.2777, allocations: 4 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.2777, allocations: 0 / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2777, allocations: 3.938 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2777, allocations: 4.156 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.625e-05/0.2778, allocations: 81.86 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.2778, allocations: 89.06 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.2779, allocations: 0 / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.2779, allocations: 4 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.2779, allocations: 3.984 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.2779, allocations: 4.031 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.559e-05/0.278, allocations: 121.3 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.125e-06/0.278, allocations: 0 / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001713/0.2782, allocations: 11.94 kB / 1.224 GB, free: 9.547 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.0003592/0.2785, allocations: 0.6215 MB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.002e-05/0.2786, allocations: 15.94 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.2786, allocations: 0 / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.484e-06/0.2786, allocations: 4 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.2788, allocations: 8 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.2799, allocations: 1.335 MB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.2802, allocations: 0.6963 MB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.2802, allocations: 4.438 kB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.2802, allocations: 23.42 kB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.2802, allocations: 0 / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.815/1.095, allocations: 1.593 MB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/11.36, allocations: 6.609 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches