Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.00212/0.00212, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002146/0.002146, allocations: 190 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.47/2.47, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.904/4.904, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 62.56 kB / 0.8987 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.519, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.004598/0.5237, allocations: 0.8879 MB / 1.053 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002502/0.524, allocations: 47.78 kB / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.5241, allocations: 0 / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.408e-05/0.5243, allocations: 3.938 kB / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.5245, allocations: 0 / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.5246, allocations: 15.98 kB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.5248, allocations: 67.78 kB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.5251, allocations: 43.95 kB / 1.053 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.435e-05/0.5252, allocations: 27.88 kB / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.5253, allocations: 31.84 kB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.5254, allocations: 4 kB / 1.054 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.474e-05/0.5254, allocations: 8 kB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.5255, allocations: 15.92 kB / 1.054 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.379e-05/0.5256, allocations: 47.67 kB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.5258, allocations: 60 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.5258, allocations: 0 / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.936e-06/0.5259, allocations: 0 / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.5259, allocations: 3.938 kB / 1.054 GB, free: 7.375 MB / 0.8106 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.0008254/0.5267, allocations: 379.3 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 8.638e-05/0.5268, allocations: 8.625 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.284e-05/0.5269, allocations: 38.75 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.527, allocations: 16.83 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.5274, allocations: 192.2 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.5274, allocations: 8.281 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.5275, allocations: 12.31 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.5278, allocations: 91.89 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.5278, allocations: 3.938 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.5279, allocations: 8 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.5279, allocations: 0 / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.5281, allocations: 43.91 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009955/0.5291, allocations: 436.6 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.5292, allocations: 45.19 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.5293, allocations: 17.84 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.5293, allocations: 0 / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.5294, allocations: 34.56 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.5294, allocations: 4 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003398/0.5298, allocations: 57.47 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.5299, allocations: 81.11 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.5302, allocations: 158.2 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.5302, allocations: 29.7 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.5303, allocations: 100 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.5304, allocations: 3.906 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/0.5305, allocations: 21.97 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.5307, allocations: 322.8 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.5307, allocations: 0 / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.5308, allocations: 29.64 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.765e-05/0.5309, allocations: 25.7 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5309, allocations: 0 / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001755/0.5311, allocations: 61.55 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.5311, allocations: 13.66 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5312, allocations: 0 / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.5312, allocations: 0 / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.5313, allocations: 7.984 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.5314, allocations: 4 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.5314, allocations: 7.844 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.5315, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 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 0.0002322/0.5317, allocations: 115.4 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-05/0.5318, allocations: 19.84 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.5319, allocations: 11.88 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.5319, allocations: 3.984 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.5319, allocations: 3.938 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.532, allocations: 4 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007342/0.5327, allocations: 466.8 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5327, allocations: 0 / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.5328, allocations: 4.062 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5328, allocations: 4 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.5328, allocations: 0 / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.5328, allocations: 3.938 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5328, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.533, allocations: 81.83 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.5332, allocations: 89.05 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.5332, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.976e-05/0.5333, allocations: 4 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.5333, allocations: 7.984 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.5333, allocations: 0 / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001746/0.5335, allocations: 122.1 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5335, allocations: 0 / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003798/0.5339, allocations: 8 kB / 1.057 GB, free: 3.848 MB / 0.8106 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.0006689/0.5346, allocations: 0.6209 MB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.5348, allocations: 15.94 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5348, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.285e-05/0.5349, allocations: 8 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.5352, allocations: 8.281 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.5373, allocations: 1.356 MB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.5379, allocations: 0.6924 MB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.925e-05/0.538, allocations: 8.422 kB / 1.059 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.055e-05/0.5381, allocations: 23.44 kB / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.5381, allocations: 0 / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.568, allocations: 1.471 MB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003859/0.5685, allocations: 233.8 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/3.21, allocations: 2.188 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches