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.008007/0.008007, allocations: 101.9 kB / 15.73 MB, free: 6.484 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.001194/0.001194, allocations: 190.1 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 71.89 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3689, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.003316/0.3723, allocations: 0.8293 MB / 1.208 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.3725, allocations: 39.78 kB / 1.208 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.3727, allocations: 4 kB / 1.208 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.384e-05/0.3727, allocations: 3.938 kB / 1.208 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.3729, allocations: 11.86 kB / 1.208 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.788e-05/0.373, allocations: 19.98 kB / 1.208 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.3732, allocations: 63.78 kB / 1.208 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.3734, allocations: 47.91 kB / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.3735, allocations: 27.86 kB / 1.208 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.3736, allocations: 23.86 kB / 1.208 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.3736, allocations: 4 kB / 1.208 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.3737, allocations: 8 kB / 1.208 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.3737, allocations: 19.92 kB / 1.208 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.3738, allocations: 39.72 kB / 1.208 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.374, allocations: 75.88 kB / 1.208 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.374, allocations: 4 kB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.414e-06/0.374, allocations: 0 / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.374, allocations: 0 / 1.208 GB, free: 8.906 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.0006822/0.3747, allocations: 379.2 kB / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/0.3748, allocations: 12.61 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.163e-05/0.3748, allocations: 38.75 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.3749, allocations: 8.844 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.3752, allocations: 196.1 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3753, allocations: 4.375 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.3753, allocations: 16.38 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.3755, allocations: 87.95 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.3756, allocations: 3.938 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3756, allocations: 0 / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.3756, allocations: 4 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.3757, allocations: 39.92 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000951/0.3767, allocations: 436.5 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.3768, allocations: 45.33 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.3769, allocations: 13.78 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.3769, allocations: 0 / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.377, allocations: 42.56 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.377, allocations: 0 / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003309/0.3773, allocations: 53.48 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/0.3774, allocations: 81.09 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.3777, allocations: 158.2 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.3778, allocations: 25.7 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.3779, allocations: 103.9 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.3779, allocations: 8.25 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.378, allocations: 25.61 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.3782, allocations: 314.8 kB / 1.21 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.3783, allocations: 11.92 kB / 1.21 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.795e-05/0.3783, allocations: 21.66 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.205e-05/0.3784, allocations: 21.72 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3784, allocations: 4 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001562/0.3786, allocations: 69.53 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.3786, allocations: 7.938 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3786, allocations: 0 / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.3787, allocations: 4 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3788, allocations: 4 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.3788, allocations: 0 / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.3789, allocations: 7.938 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.3789, allocations: 0 / 1.211 GB, free: 6.43 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 0.0001535/0.379, allocations: 117.9 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.03e-05/0.3791, allocations: 15.83 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.3792, allocations: 11.88 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3792, allocations: 0 / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.3792, allocations: 0 / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.3793, allocations: 0 / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006922/0.38, allocations: 478.7 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.38, allocations: 0 / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.38, allocations: 7.938 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.38, allocations: 96 / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.38, allocations: 0 / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3801, allocations: 7.984 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3801, allocations: 3.984 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.3802, allocations: 77.91 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/0.3803, allocations: 89 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.3804, allocations: 4 kB / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.052e-05/0.3804, allocations: 3.938 kB / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.3804, allocations: 4 kB / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3805, allocations: 0 / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001462/0.3806, allocations: 122.1 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3806, allocations: 3.938 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003143/0.3809, allocations: 8 kB / 1.212 GB, free: 5.383 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.0006126/0.3816, allocations: 0.6132 MB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.3817, allocations: 19.94 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3817, allocations: 160 / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.3818, allocations: 15.92 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.382, allocations: 15.84 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.384, allocations: 1.323 MB / 1.213 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.3844, allocations: 0.6963 MB / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.665e-05/0.3845, allocations: 8.422 kB / 1.214 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/0.3846, allocations: 23.44 kB / 1.214 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of SimCode: time 7.81e-07/0.3846, allocations: 0 / 1.214 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.4052, allocations: 1.61 MB / 1.216 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/8.005, allocations: 6.719 kB / 1.216 GB, free: 1.039 MB / 0.9669 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