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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00546/0.00546, 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.001436/0.001436, allocations: 198.7 kB / 16.68 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.68/2.68, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 67.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2925, allocations: 162.3 MB / 1.242 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001838/0.2944, allocations: 0.8255 MB / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000105/0.2945, allocations: 43.73 kB / 1.243 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.2945, allocations: 0 / 1.243 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.2946, allocations: 11.86 kB / 1.243 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.2947, allocations: 15.86 kB / 1.243 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.327e-05/0.2947, allocations: 19.98 kB / 1.243 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.746e-05/0.2948, allocations: 59.84 kB / 1.243 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.295, allocations: 47.94 kB / 1.243 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.34e-05/0.295, allocations: 23.81 kB / 1.243 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.2951, allocations: 31.84 kB / 1.243 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.2951, allocations: 8 kB / 1.243 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.2951, allocations: 4 kB / 1.243 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.2951, allocations: 15.94 kB / 1.243 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.2952, allocations: 39.73 kB / 1.243 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.2953, allocations: 75.58 kB / 1.243 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2953, allocations: 0 / 1.243 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2953, allocations: 0 / 1.243 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2953, allocations: 0 / 1.243 GB, free: 8.609 MB / 0.9981 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.0004076/0.2957, allocations: 387.1 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2958, allocations: 8.031 kB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.2958, allocations: 38.75 kB / 1.243 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.2958, allocations: 8.891 kB / 1.243 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.296, allocations: 192.2 kB / 1.244 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2961, allocations: 8.375 kB / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.2961, allocations: 8.312 kB / 1.244 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.2962, allocations: 89.52 kB / 1.244 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.2962, allocations: 7.938 kB / 1.244 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.2963, allocations: 4 kB / 1.244 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2963, allocations: 0 / 1.244 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.2963, allocations: 39.92 kB / 1.244 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.2968, allocations: 440.7 kB / 1.244 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/0.2969, allocations: 45.19 kB / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.2969, allocations: 17.84 kB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.297, allocations: 4 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.297, allocations: 30.56 kB / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.297, allocations: 0 / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000145/0.2971, allocations: 57.73 kB / 1.244 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.2972, allocations: 85.14 kB / 1.244 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.2973, allocations: 160.6 kB / 1.245 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.2974, allocations: 29.7 kB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.2974, allocations: 104 kB / 1.245 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.2975, allocations: 3.953 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.2975, allocations: 17.72 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2976, allocations: 318.8 kB / 1.245 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.2976, allocations: 8 kB / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-05/0.2977, allocations: 29.59 kB / 1.245 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.2977, allocations: 25.72 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2977, allocations: 0 / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.319e-05/0.2978, allocations: 57.58 kB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2978, allocations: 7.938 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2978, allocations: 8.062 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.2978, allocations: 0 / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.2979, allocations: 4 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.2979, allocations: 0 / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.2979, allocations: 11.89 kB / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.298, allocations: 3.984 kB / 1.245 GB, free: 6.125 MB / 0.9981 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.464e-05/0.298, allocations: 113.8 kB / 1.245 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.2981, allocations: 11.89 kB / 1.245 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.2981, allocations: 11.88 kB / 1.245 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2981, allocations: 4 kB / 1.245 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2981, allocations: 0 / 1.245 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2981, allocations: 8 kB / 1.245 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.2985, allocations: 470.7 kB / 1.246 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2985, allocations: 7.984 kB / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.645e-05/0.2986, allocations: 0 / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2986, allocations: 4 kB / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.2986, allocations: 64 / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.2986, allocations: 7.938 kB / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2986, allocations: 0 / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.116e-05/0.2987, allocations: 77.97 kB / 1.246 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.2988, allocations: 89.05 kB / 1.246 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.2988, allocations: 4 kB / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.2988, allocations: 4 kB / 1.246 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-06/0.2988, allocations: 4.031 kB / 1.246 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-06/0.2988, allocations: 0 / 1.246 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.864e-05/0.2989, allocations: 121.7 kB / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2989, allocations: 0 / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001745/0.2991, allocations: 8 kB / 1.246 GB, free: 5.082 MB / 0.9981 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.0003824/0.2995, allocations: 0.6215 MB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.396e-05/0.2996, allocations: 19.92 kB / 1.247 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2996, allocations: 3.938 kB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.2996, allocations: 7.938 kB / 1.247 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.2997, allocations: 10.81 kB / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.3009, allocations: 1.339 MB / 1.248 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.3012, allocations: 0.6924 MB / 1.249 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.3012, allocations: 8.422 kB / 1.249 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.3012, allocations: 19.44 kB / 1.249 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.3012, allocations: 0 / 1.249 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8399/1.141, allocations: 1.591 MB / 1.25 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.26, allocations: 10.91 kB / 1.25 GB, free: 0.7422 MB / 0.9981 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=400 --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