Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_latest_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.0009188/0.0009189, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005657/0.005657, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.43/2.43, allocations: 443.4 MB / 0.7176 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002963, allocations: 14.89 kB / 0.8797 GB, free: 41.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2223, allocations: 155.2 MB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.0008233/0.2231, allocations: 0.542 MB / 1.032 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 8.876e-05/0.2232, allocations: 43.77 kB / 1.032 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.2233, allocations: 4 kB / 1.032 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.2233, allocations: 11.88 kB / 1.032 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.2234, allocations: 3.938 kB / 1.032 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.906e-05/0.2234, allocations: 15.98 kB / 1.032 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.63e-05/0.2235, allocations: 59.75 kB / 1.032 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2236, allocations: 43.94 kB / 1.032 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/0.2237, allocations: 27.81 kB / 1.032 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.2237, allocations: 15.86 kB / 1.032 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.2237, allocations: 0 / 1.032 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.2237, allocations: 4 kB / 1.032 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.2238, allocations: 7.938 kB / 1.032 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.2238, allocations: 53.44 kB / 1.032 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.79e-05/0.2239, allocations: 71.97 kB / 1.032 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2239, allocations: 0 / 1.032 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2239, allocations: 0 / 1.032 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.2239, allocations: 0 / 1.032 GB, free: 3.23 MB / 0.7794 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.0002996/0.2242, allocations: 367.3 kB / 1.032 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2243, allocations: 12.03 kB / 1.032 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.2243, allocations: 38.73 kB / 1.033 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.2243, allocations: 12.84 kB / 1.033 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.2245, allocations: 192.1 kB / 1.033 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.2245, allocations: 4.375 kB / 1.033 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.2245, allocations: 8.375 kB / 1.033 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.2246, allocations: 91.95 kB / 1.033 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2247, allocations: 11.88 kB / 1.033 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.2247, allocations: 0 / 1.033 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2247, allocations: 3.938 kB / 1.033 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.737e-05/0.2248, allocations: 35.98 kB / 1.033 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.2252, allocations: 436.7 kB / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.37e-05/0.2252, allocations: 49.14 kB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.2253, allocations: 13.78 kB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.2253, allocations: 4 kB / 1.033 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.2253, allocations: 38.5 kB / 1.033 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2253, allocations: 4 kB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001315/0.2254, allocations: 49.55 kB / 1.033 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.2255, allocations: 85.03 kB / 1.034 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2256, allocations: 160.9 kB / 1.034 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.2256, allocations: 25.7 kB / 1.034 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.2257, allocations: 103.9 kB / 1.034 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.991e-06/0.2257, allocations: 4 kB / 1.034 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.2257, allocations: 21.89 kB / 1.034 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.2258, allocations: 314.8 kB / 1.034 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.2258, allocations: 8 kB / 1.034 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.005e-05/0.2258, allocations: 21.7 kB / 1.034 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.2259, allocations: 26.28 kB / 1.034 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2259, allocations: 0 / 1.034 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.56e-05/0.226, allocations: 65.53 kB / 1.034 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.226, allocations: 7.938 kB / 1.034 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.226, allocations: 4 kB / 1.034 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/0.226, allocations: 0 / 1.034 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.019e-05/0.2261, allocations: 4 kB / 1.034 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.2261, allocations: 0 / 1.034 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.2261, allocations: 11.84 kB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.2261, allocations: 3.938 kB / 1.034 GB, free: 0.7656 MB / 0.7794 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 6.082e-05/0.2262, allocations: 119.3 kB / 1.034 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.2262, allocations: 16 kB / 1.034 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.2262, allocations: 15.84 kB / 1.034 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.2263, allocations: 0 / 1.034 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2263, allocations: 0 / 1.034 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2263, allocations: 4 kB / 1.034 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.2266, allocations: 466.8 kB / 1.035 GB, free: 88 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2266, allocations: 7.938 kB / 1.035 GB, free: 80 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.2266, allocations: 8.062 kB / 1.035 GB, free: 72 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.2266, allocations: 4 kB / 1.035 GB, free: 68 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.2266, allocations: 0 / 1.035 GB, free: 68 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2266, allocations: 0 / 1.035 GB, free: 68 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2266, allocations: 3.984 kB / 1.035 GB, free: 64 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.757e-05/0.2267, allocations: 81.78 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.2268, allocations: 89 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.2268, allocations: 4.031 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.052e-05/0.2268, allocations: 4 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-06/0.2268, allocations: 0 / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.2268, allocations: 0 / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.169e-05/0.2269, allocations: 121.1 kB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2269, allocations: 0 / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001747/0.2271, allocations: 15.91 kB / 1.035 GB, free: 15.71 MB / 0.795 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.0002772/0.2274, allocations: 0.6132 MB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 5.688e-05/0.2274, allocations: 19.94 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2275, allocations: 0 / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/0.2275, allocations: 8 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.2276, allocations: 13.06 kB / 1.036 GB, free: 15.03 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009402/0.2286, allocations: 1.34 MB / 1.037 GB, free: 13.58 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.2288, allocations: 0.6926 MB / 1.038 GB, free: 12.86 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.2288, allocations: 8.422 kB / 1.038 GB, free: 12.86 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.2288, allocations: 27.38 kB / 1.038 GB, free: 12.83 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.2288, allocations: 0 / 1.038 GB, free: 12.83 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3609/0.5898, allocations: 1.382 MB / 1.039 GB, free: 11.61 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.59, allocations: 218.8 kB / 1.039 GB, free: 11.36 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.222, allocations: 0 / 1.039 GB, free: 11.36 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches