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.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.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.007328/0.007328, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001599/0.001599, allocations: 195.7 kB / 16.67 MB, free: 6.379 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.567/1.567, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.891/2.891, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 64.12 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3806, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002395/0.3831, allocations: 0.8269 MB / 1.208 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001706/0.3833, allocations: 43.78 kB / 1.208 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.3834, allocations: 4 kB / 1.208 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.613e-05/0.3835, allocations: 7.875 kB / 1.208 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.381e-05/0.3836, allocations: 7.922 kB / 1.208 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.6e-05/0.3836, allocations: 19.98 kB / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.3837, allocations: 59.78 kB / 1.208 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.3839, allocations: 55.89 kB / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.03e-05/0.384, allocations: 27.86 kB / 1.208 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.72e-05/0.384, allocations: 23.86 kB / 1.208 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3841, allocations: 4 kB / 1.208 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.3841, allocations: 8 kB / 1.208 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.3841, allocations: 15.92 kB / 1.208 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.3842, allocations: 39.73 kB / 1.208 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.3843, allocations: 79.86 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3843, allocations: 0 / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3843, allocations: 0 / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3843, allocations: 4 kB / 1.208 GB, free: 8.898 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.0004543/0.3848, allocations: 379.2 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3848, allocations: 8.625 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.3849, allocations: 42.75 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.3849, allocations: 8.844 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.3851, allocations: 192.1 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.3852, allocations: 4.375 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.3852, allocations: 8.375 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3853, allocations: 97.67 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3854, allocations: 3.938 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.3854, allocations: 0 / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3854, allocations: 4 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.44e-05/0.3855, allocations: 43.86 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.386, allocations: 432.5 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.44e-05/0.3861, allocations: 49.33 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.3862, allocations: 13.78 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3862, allocations: 0 / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.3862, allocations: 34.56 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3862, allocations: 8 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001837/0.3864, allocations: 57.47 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3865, allocations: 77.11 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3866, allocations: 165 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.3866, allocations: 25.7 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/0.3867, allocations: 103.9 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.3867, allocations: 7.984 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.3868, allocations: 17.88 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3869, allocations: 322.8 kB / 1.21 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.3869, allocations: 11.92 kB / 1.21 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.3869, allocations: 17.72 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.787e-05/0.387, allocations: 21.72 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.387, allocations: 0 / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000102/0.3871, allocations: 69.53 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3871, allocations: 7.938 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3871, allocations: 0 / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3871, allocations: 0 / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.3872, allocations: 8 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3872, allocations: 0 / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.3873, allocations: 7.938 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.3873, allocations: 0 / 1.211 GB, free: 6.426 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 8.039e-05/0.3874, allocations: 117.8 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.3874, allocations: 19.94 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.3874, allocations: 15.86 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3874, allocations: 0 / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3875, allocations: 4 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3875, allocations: 0 / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.3879, allocations: 470.7 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3879, allocations: 0 / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.3879, allocations: 8.062 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3879, allocations: 3.984 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.3879, allocations: 0 / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3879, allocations: 4 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3879, allocations: 0 / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.509e-05/0.388, allocations: 81.78 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.3881, allocations: 89 kB / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3881, allocations: 4.031 kB / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.3881, allocations: 0 / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.3881, allocations: 7.938 kB / 1.211 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.3881, allocations: 4 kB / 1.211 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.47e-05/0.3882, allocations: 119.2 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3883, allocations: 0 / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002004/0.3885, allocations: 4 kB / 1.212 GB, free: 5.379 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.0003717/0.3888, allocations: 0.6171 MB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.511e-05/0.3889, allocations: 19.94 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.389, allocations: 3.938 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.195e-05/0.389, allocations: 7.984 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.3891, allocations: 18.34 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.3903, allocations: 1.324 MB / 1.213 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3906, allocations: 0.6924 MB / 1.214 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.3906, allocations: 8.422 kB / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.3907, allocations: 23.44 kB / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.3907, allocations: 0 / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.4105, allocations: 1.615 MB / 1.216 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.251/7.661, allocations: 11.06 kB / 1.216 GB, free: 1.027 MB / 0.9669 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