Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.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.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001457/0.001457, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.009694/0.009695, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.625/2.625, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003221, allocations: 12.16 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2751, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0009054/0.2761, allocations: 0.5452 MB / 1.059 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001163/0.2762, allocations: 43.78 kB / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.2763, allocations: 4 kB / 1.059 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.2763, allocations: 7.922 kB / 1.059 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.2764, allocations: 3.938 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.112e-05/0.2764, allocations: 16 kB / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.2765, allocations: 55.84 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.2766, allocations: 43.95 kB / 1.059 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.011e-05/0.2767, allocations: 19.86 kB / 1.059 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.2768, allocations: 23.8 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.2768, allocations: 0 / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.2768, allocations: 4 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.2768, allocations: 3.938 kB / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.2769, allocations: 57.45 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.251e-05/0.277, allocations: 67.95 kB / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.277, allocations: 0 / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.362e-06/0.277, allocations: 0 / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.277, allocations: 4 kB / 1.06 GB, free: 3.988 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.0003389/0.2773, allocations: 367.3 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2774, allocations: 11.97 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.2774, allocations: 38.75 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.2775, allocations: 16.83 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.2776, allocations: 188.2 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2777, allocations: 8.375 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.2777, allocations: 4.375 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.2778, allocations: 97.36 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2778, allocations: 3.938 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2779, allocations: 7.922 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.2779, allocations: 4 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.2779, allocations: 43.91 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.2784, allocations: 436.5 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.668e-05/0.2785, allocations: 41.34 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.2785, allocations: 17.78 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.2785, allocations: 4 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.2786, allocations: 34.56 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2786, allocations: 0 / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001593/0.2787, allocations: 57.47 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.2788, allocations: 77.11 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2789, allocations: 168.4 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.2789, allocations: 29.64 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.279, allocations: 112.2 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.073e-06/0.279, allocations: 7.938 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.279, allocations: 9.719 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.2791, allocations: 322.8 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.2791, allocations: 4 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.2792, allocations: 17.72 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.825e-05/0.2792, allocations: 29.7 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2792, allocations: 0 / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.039e-05/0.2793, allocations: 57.55 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2793, allocations: 11.94 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2793, allocations: 0 / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.2793, allocations: 0 / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.2794, allocations: 7.984 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.2794, allocations: 4 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.2794, allocations: 7.844 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.2795, allocations: 4 kB / 1.062 GB, free: 1.512 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 6.53e-05/0.2795, allocations: 113.9 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.2796, allocations: 15.84 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.2796, allocations: 11.81 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2796, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2796, allocations: 4 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2796, allocations: 3.984 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.28, allocations: 474.7 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.28, allocations: 0 / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.28, allocations: 4 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.28, allocations: 0 / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.28, allocations: 0 / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.28, allocations: 0 / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.28, allocations: 0 / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.797e-05/0.2801, allocations: 89.89 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.2802, allocations: 84.92 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.2802, allocations: 4 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.2802, allocations: 4 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.2802, allocations: 7.922 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.2802, allocations: 4 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.668e-05/0.2803, allocations: 118.1 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2803, allocations: 0 / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001843/0.2805, allocations: 11.98 kB / 1.063 GB, free: 480 kB / 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.0003257/0.2808, allocations: 0.6154 MB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.053e-05/0.2809, allocations: 23.86 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2809, allocations: 4.156 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.2809, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.2811, allocations: 8 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2821, allocations: 1.34 MB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.2823, allocations: 0.6926 MB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.2824, allocations: 12.38 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.2824, allocations: 23.42 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2824, allocations: 8 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009917/0.2924, allocations: 1.356 MB / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.2926, allocations: 216.1 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.951, allocations: 4 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches