Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_10_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.008089/0.008089, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001553/0.001553, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 59.91 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9588/0.9603, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002209/0.9625, allocations: 0.83 MB / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001323/0.9627, allocations: 47.78 kB / 1.167 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.9628, allocations: 0 / 1.167 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.432e-05/0.9628, allocations: 11.86 kB / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.493e-05/0.9629, allocations: 7.875 kB / 1.167 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.947e-05/0.963, allocations: 19.98 kB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.9631, allocations: 59.84 kB / 1.167 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.9633, allocations: 47.95 kB / 1.167 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.62e-05/0.9634, allocations: 19.94 kB / 1.167 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.653e-05/0.9634, allocations: 31.78 kB / 1.167 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.9634, allocations: 12 kB / 1.167 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.9635, allocations: 4 kB / 1.167 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.9635, allocations: 19.88 kB / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.9635, allocations: 35.8 kB / 1.167 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.9637, allocations: 69.95 kB / 1.167 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9637, allocations: 0 / 1.167 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9637, allocations: 0 / 1.167 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.9637, allocations: 0 / 1.167 GB, free: 2.605 MB / 0.8887 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.0005226/0.9642, allocations: 383.1 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.9643, allocations: 8.922 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.9643, allocations: 50.73 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.9644, allocations: 12.78 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.9646, allocations: 192.2 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.9646, allocations: 4.375 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.9646, allocations: 8.375 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.9648, allocations: 94.33 kB / 1.168 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.9648, allocations: 3.938 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.9648, allocations: 7.984 kB / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.9648, allocations: 4 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.523e-05/0.9649, allocations: 39.97 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.9654, allocations: 436.5 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.374e-05/0.9655, allocations: 41.16 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.9655, allocations: 21.84 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.9656, allocations: 0 / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.9656, allocations: 46.58 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.9656, allocations: 0 / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001612/0.9658, allocations: 53.48 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.9658, allocations: 85.36 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.966, allocations: 160.5 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.966, allocations: 29.64 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.9661, allocations: 104 kB / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.9661, allocations: 3.906 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.9661, allocations: 17.72 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.9662, allocations: 318.8 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.9662, allocations: 4 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.9663, allocations: 25.72 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.14e-05/0.9663, allocations: 29.64 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9663, allocations: 0 / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.878e-05/0.9664, allocations: 53.61 kB / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.9664, allocations: 11.94 kB / 1.169 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.9664, allocations: 0 / 1.169 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.9664, allocations: 4.062 kB / 1.169 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.9665, allocations: 7.984 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.9665, allocations: 11.88 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.9666, allocations: 3.906 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.9666, allocations: 0 / 1.17 GB, free: 108 kB / 0.8887 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 9.386e-05/0.9667, allocations: 113.8 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.9667, allocations: 11.84 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.9668, allocations: 11.88 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.9668, allocations: 3.984 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.9668, allocations: 4 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.9668, allocations: 4 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.9672, allocations: 466.8 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.9672, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/0.9672, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.9672, allocations: 4 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.9672, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9672, allocations: 64 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.9672, allocations: 4 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.892e-05/0.9673, allocations: 85.77 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.9674, allocations: 88.95 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.9674, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.9674, allocations: 4 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.9674, allocations: 8.016 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.9674, allocations: 4 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.543e-05/0.9675, allocations: 122.9 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9675, allocations: 0 / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001868/0.9677, allocations: 11.91 kB / 1.17 GB, free: 15.06 MB / 0.9044 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.0003963/0.9681, allocations: 0.6209 MB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.377e-05/0.9682, allocations: 15.94 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9682, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.9683, allocations: 7.938 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.9684, allocations: 8 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.9696, allocations: 1.332 MB / 1.172 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.9699, allocations: 0.6924 MB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.9699, allocations: 4.438 kB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.9699, allocations: 23.42 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of SimCode: time 1.362e-06/0.9699, allocations: 0 / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.9891, allocations: 1.576 MB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/8.597, allocations: 15.64 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches