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.007365/0.007365, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001866/0.001866, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.204/2.204, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 59.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6956/0.697, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001719/0.6987, allocations: 0.8178 MB / 1.088 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001058/0.6988, allocations: 41.98 kB / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.6989, allocations: 1.406 kB / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.6989, allocations: 9.188 kB / 1.088 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/0.699, allocations: 14.59 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.89e-05/0.6991, allocations: 19.95 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.6992, allocations: 59.89 kB / 1.088 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.6994, allocations: 41.95 kB / 1.088 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.488e-05/0.6994, allocations: 26.48 kB / 1.088 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.6995, allocations: 34.05 kB / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.6995, allocations: 6.844 kB / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.6995, allocations: 5.281 kB / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.6995, allocations: 19.92 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.6996, allocations: 33.11 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.6997, allocations: 73.78 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6997, allocations: 0 / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6997, allocations: 1.219 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.6997, allocations: 3.938 kB / 1.089 GB, free: 4.516 MB / 0.8575 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.0003736/0.7001, allocations: 383.7 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.7002, allocations: 9.844 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.7002, allocations: 39.47 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.7002, allocations: 14.03 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.7004, allocations: 192.2 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.7004, allocations: 3.906 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.7004, allocations: 9.344 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.7006, allocations: 90.31 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.7006, allocations: 13.25 kB / 1.089 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.7006, allocations: 0 / 1.089 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.7006, allocations: 2.156 kB / 1.089 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.7007, allocations: 36.72 kB / 1.089 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.7012, allocations: 441.5 kB / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.707e-05/0.7013, allocations: 46.02 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.7013, allocations: 16.89 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.7013, allocations: 0 / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.7013, allocations: 40.22 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7013, allocations: 0 / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001715/0.7015, allocations: 57.33 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.7016, allocations: 82.64 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.7017, allocations: 160.1 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.7017, allocations: 25.7 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.7018, allocations: 104.5 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.745e-06/0.7018, allocations: 5.594 kB / 1.09 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.7018, allocations: 17.97 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.826e-05/0.7019, allocations: 319.5 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.7019, allocations: 7.906 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.25e-05/0.7019, allocations: 24.62 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.702, allocations: 23.06 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.702, allocations: 4.781 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.813e-05/0.702, allocations: 57.34 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7021, allocations: 9.922 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7021, allocations: 4.062 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7021, allocations: 1.469 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.7022, allocations: 6.297 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.7022, allocations: 6.031 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.7022, allocations: 5.312 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.7022, allocations: 1.25 kB / 1.091 GB, free: 2.395 MB / 0.8575 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 5.331e-05/0.7023, allocations: 114.6 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.7023, allocations: 15.67 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.7024, allocations: 17.58 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7024, allocations: 4.078 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7024, allocations: 1.062 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7024, allocations: 1.672 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.7027, allocations: 466.1 kB / 1.091 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7027, allocations: 1.125 kB / 1.091 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.7027, allocations: 3 kB / 1.091 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7027, allocations: 5.062 kB / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.7027, allocations: 5.703 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7027, allocations: 1.094 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7027, allocations: 0 / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.097e-05/0.7028, allocations: 85.42 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.7028, allocations: 91.17 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.7029, allocations: 0.6094 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.136e-05/0.7029, allocations: 5.406 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.7029, allocations: 6.203 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.7029, allocations: 1.344 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.843e-05/0.703, allocations: 120.4 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.703, allocations: 0 / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001955/0.7032, allocations: 6.625 kB / 1.092 GB, free: 1.473 MB / 0.8575 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.0003044/0.7035, allocations: 0.6165 MB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.428e-05/0.7036, allocations: 19.59 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7036, allocations: 0 / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.08e-05/0.7036, allocations: 4.891 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.7038, allocations: 15.69 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.7048, allocations: 1.326 MB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.7051, allocations: 0.6916 MB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.617e-05/0.7051, allocations: 7.094 kB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.7052, allocations: 21.25 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.7052, allocations: 4 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.7223, allocations: 1.589 MB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.05/7.773, allocations: 8.078 kB / 1.096 GB, free: 14.52 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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