Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_9_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.002104/0.002104, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.2 MB / 0.6647 GB, free: 320 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6033/0.6047, allocations: 140.4 MB / 0.9497 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001845/0.6066, allocations: 0.8113 MB / 0.9505 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.179e-05/0.6067, allocations: 45.31 kB / 0.9506 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.6067, allocations: 1.531 kB / 0.9506 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.6068, allocations: 11.86 kB / 0.9506 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.12e-05/0.6068, allocations: 9.75 kB / 0.9506 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.84e-05/0.6069, allocations: 19.2 kB / 0.9506 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.062e-05/0.607, allocations: 59.88 kB / 0.9507 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.6071, allocations: 43.45 kB / 0.9507 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.208e-05/0.6072, allocations: 28.92 kB / 0.9507 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.6072, allocations: 27.73 kB / 0.9508 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.6072, allocations: 6.531 kB / 0.9508 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.6072, allocations: 10.75 kB / 0.9508 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.6073, allocations: 17.39 kB / 0.9508 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.6073, allocations: 30.39 kB / 0.9508 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.855e-05/0.6074, allocations: 75.17 kB / 0.9509 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6074, allocations: 0 / 0.9509 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6074, allocations: 1.312 kB / 0.9509 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.6074, allocations: 3.938 kB / 0.9509 GB, free: 8.332 MB / 0.7169 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.0002691/0.6077, allocations: 381.7 kB / 0.9513 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.6077, allocations: 9.312 kB / 0.9513 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.269e-05/0.6077, allocations: 45.38 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.6078, allocations: 10.44 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.6079, allocations: 194.7 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.6079, allocations: 2.688 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.6079, allocations: 9.719 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.6081, allocations: 90.73 kB / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.6081, allocations: 3.938 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.6081, allocations: 9.453 kB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6081, allocations: 5.344 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.425e-05/0.6082, allocations: 36.02 kB / 0.9517 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.6085, allocations: 437 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.238e-05/0.6086, allocations: 40.89 kB / 0.9521 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.6086, allocations: 20.12 kB / 0.9521 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.6086, allocations: 4.031 kB / 0.9521 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.6086, allocations: 31.88 kB / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6087, allocations: 0 / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001342/0.6088, allocations: 63.5 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.6088, allocations: 82.42 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.6089, allocations: 162.7 kB / 0.9525 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.6089, allocations: 26.7 kB / 0.9525 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.609, allocations: 108.7 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.715e-06/0.609, allocations: 9.422 kB / 0.9526 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.609, allocations: 16.53 kB / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.09e-05/0.6091, allocations: 321.3 kB / 0.9529 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.6091, allocations: 10.64 kB / 0.9529 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.6091, allocations: 19.41 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.077e-05/0.6091, allocations: 25.44 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.6092, allocations: 1.375 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.002e-05/0.6092, allocations: 58.69 kB / 0.953 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.6092, allocations: 9.75 kB / 0.953 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.6093, allocations: 4.062 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.6093, allocations: 1.312 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.382e-05/0.6093, allocations: 9.406 kB / 0.9531 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.6093, allocations: 0 / 0.9531 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.6094, allocations: 6.688 kB / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.6094, allocations: 1.25 kB / 0.9531 GB, free: 6.109 MB / 0.7169 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 4.359e-05/0.6094, allocations: 113.2 kB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.6095, allocations: 20.45 kB / 0.9532 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.937e-05/0.6095, allocations: 11.44 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.6095, allocations: 4 kB / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6095, allocations: 1.438 kB / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.6095, allocations: 0 / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.6098, allocations: 470.3 kB / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.6098, allocations: 0.9688 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.6098, allocations: 2.969 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6098, allocations: 5.172 kB / 0.9537 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.6098, allocations: 4.062 kB / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6098, allocations: 1.406 kB / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6098, allocations: 0 / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.311e-05/0.6099, allocations: 82.53 kB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.6099, allocations: 92.97 kB / 0.9538 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.6099, allocations: 0 / 0.9538 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.61, allocations: 1.25 kB / 0.9538 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-06/0.61, allocations: 9.094 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.61, allocations: 1.25 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.922e-05/0.61, allocations: 125 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6101, allocations: 0 / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001792/0.6102, allocations: 6.281 kB / 0.954 GB, free: 5.156 MB / 0.7169 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.000193/0.6104, allocations: 0.6204 MB / 0.9546 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.6105, allocations: 14.28 kB / 0.9546 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6105, allocations: 1.406 kB / 0.9546 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-05/0.6105, allocations: 11.8 kB / 0.9546 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.6107, allocations: 12.25 kB / 0.9546 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007683/0.6115, allocations: 1.32 MB / 0.9559 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.213e-05/0.6116, allocations: 0.6984 MB / 0.9566 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.6116, allocations: 12.03 kB / 0.9566 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.6116, allocations: 27.64 kB / 0.9566 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6116, allocations: 0 / 0.9566 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.6318, allocations: 1.549 MB / 0.9581 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/7.515, allocations: 8.125 kB / 0.9581 GB, free: 1.699 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches