Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_latest_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.005354/0.005354, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001396/0.001396, allocations: 189.9 kB / 16.67 MB, free: 5.934 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.558/2.558, allocations: 482.6 MB / 0.7551 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 72.89 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2812, allocations: 162.3 MB / 1.242 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001867/0.2831, allocations: 0.8295 MB / 1.243 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 8.924e-05/0.2832, allocations: 43.73 kB / 1.243 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.2832, allocations: 0 / 1.243 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.2833, allocations: 15.86 kB / 1.243 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.2834, allocations: 15.92 kB / 1.243 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.893e-05/0.2834, allocations: 15.98 kB / 1.243 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.536e-05/0.2835, allocations: 55.84 kB / 1.243 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2836, allocations: 55.89 kB / 1.243 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.2836, allocations: 15.94 kB / 1.243 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.2837, allocations: 35.78 kB / 1.243 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.2837, allocations: 4 kB / 1.243 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.2837, allocations: 8 kB / 1.243 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.2837, allocations: 7.938 kB / 1.243 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.2838, allocations: 39.73 kB / 1.243 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.2839, allocations: 75.86 kB / 1.243 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.2839, allocations: 4 kB / 1.243 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2839, allocations: 0 / 1.243 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.2839, allocations: 0 / 1.243 GB, free: 7.703 MB / 0.9669 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.0003675/0.2843, allocations: 388.8 kB / 1.243 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.2843, allocations: 8.031 kB / 1.243 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.2844, allocations: 42.69 kB / 1.243 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.2844, allocations: 8.891 kB / 1.243 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.2846, allocations: 196.1 kB / 1.244 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.2846, allocations: 8.375 kB / 1.244 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.2846, allocations: 4.375 kB / 1.244 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.2847, allocations: 97.52 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2848, allocations: 7.938 kB / 1.244 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.2848, allocations: 7.938 kB / 1.244 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2848, allocations: 4 kB / 1.244 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.671e-05/0.2848, allocations: 27.98 kB / 1.244 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.2853, allocations: 444.6 kB / 1.244 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.515e-05/0.2854, allocations: 41.28 kB / 1.244 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.2854, allocations: 21.84 kB / 1.244 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.531e-06/0.2854, allocations: 0 / 1.244 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2855, allocations: 34.5 kB / 1.244 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.2855, allocations: 4 kB / 1.244 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.2856, allocations: 57.58 kB / 1.244 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.2857, allocations: 81.05 kB / 1.244 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.2858, allocations: 159.9 kB / 1.245 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2858, allocations: 25.7 kB / 1.245 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.2859, allocations: 100.1 kB / 1.245 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.2859, allocations: 11.89 kB / 1.245 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.2859, allocations: 13.97 kB / 1.245 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2861, allocations: 326.8 kB / 1.245 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.2861, allocations: 8 kB / 1.245 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.2861, allocations: 13.72 kB / 1.245 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.718e-05/0.2861, allocations: 25.72 kB / 1.245 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2862, allocations: 0 / 1.245 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.212e-05/0.2862, allocations: 65.58 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.2863, allocations: 7.938 kB / 1.245 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.2863, allocations: 0 / 1.245 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.2863, allocations: 0 / 1.245 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.636e-05/0.2863, allocations: 8 kB / 1.245 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.2863, allocations: 3.984 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.967e-05/0.2864, allocations: 7.953 kB / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.2864, allocations: 7.938 kB / 1.245 GB, free: 5.211 MB / 0.9669 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.273e-05/0.2865, allocations: 113.8 kB / 1.245 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.2865, allocations: 19.95 kB / 1.245 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/0.2865, allocations: 3.875 kB / 1.245 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2865, allocations: 4 kB / 1.245 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2865, allocations: 3.938 kB / 1.245 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2865, allocations: 0 / 1.245 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.2869, allocations: 478.7 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2869, allocations: 0 / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.287, allocations: 8.062 kB / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.287, allocations: 0 / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.287, allocations: 0 / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.287, allocations: 0 / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.287, allocations: 4 kB / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.229e-05/0.2871, allocations: 81.81 kB / 1.246 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.2871, allocations: 93.17 kB / 1.246 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.2872, allocations: 4 kB / 1.246 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.2872, allocations: 4 kB / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-06/0.2872, allocations: 0 / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.2872, allocations: 7.984 kB / 1.246 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.78e-05/0.2873, allocations: 117.7 kB / 1.246 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2873, allocations: 0 / 1.246 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001717/0.2875, allocations: 7.938 kB / 1.246 GB, free: 4.168 MB / 0.9669 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.0003687/0.2878, allocations: 0.6177 MB / 1.247 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.387e-05/0.2879, allocations: 23.92 kB / 1.247 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2879, allocations: 0 / 1.247 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.418e-05/0.2879, allocations: 8 kB / 1.247 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.2881, allocations: 4.281 kB / 1.247 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.2892, allocations: 1.331 MB / 1.248 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.2895, allocations: 0.6924 MB / 1.249 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.686e-05/0.2895, allocations: 12.42 kB / 1.249 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.2895, allocations: 27.42 kB / 1.249 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/0.2896, allocations: 0 / 1.249 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.195/1.485, allocations: 1.578 MB / 1.25 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.59, allocations: 2.656 kB / 1.25 GB, free: 15.83 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches