Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",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.005467/0.005467, allocations: 101.2 kB / 15.73 MB, free: 5.586 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.001344/0.001344, allocations: 190.4 kB / 16.67 MB, free: 5.523 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.227/2.227, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6924/0.6937, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001647/0.6954, allocations: 0.831 MB / 1.088 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 9.492e-05/0.6955, allocations: 37.03 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.6956, allocations: 2.062 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.6956, allocations: 13.75 kB / 1.088 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.155e-05/0.6957, allocations: 14.41 kB / 1.088 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.707e-05/0.6958, allocations: 19.97 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.008e-05/0.6959, allocations: 59.03 kB / 1.088 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.696, allocations: 42 kB / 1.088 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.964e-05/0.696, allocations: 30.39 kB / 1.088 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.6961, allocations: 30.78 kB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.6961, allocations: 5.25 kB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-06/0.6961, allocations: 6.062 kB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.6962, allocations: 12.64 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.6962, allocations: 33.48 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.613e-05/0.6963, allocations: 76.64 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6963, allocations: 1.062 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6963, allocations: 0.6094 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.6963, allocations: 7.938 kB / 1.089 GB, free: 4.508 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.0003023/0.6966, allocations: 378.1 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.6967, allocations: 9.594 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.6967, allocations: 38.55 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.6967, allocations: 14.69 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.6969, allocations: 187.8 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.6969, allocations: 8.297 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.6969, allocations: 5.812 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.697, allocations: 99.89 kB / 1.089 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6971, allocations: 5.188 kB / 1.089 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.6971, allocations: 4.609 kB / 1.089 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6971, allocations: 2.312 kB / 1.089 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.169e-05/0.6972, allocations: 44.61 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.6976, allocations: 441.5 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.764e-05/0.6976, allocations: 37.73 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.6976, allocations: 23.94 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-06/0.6977, allocations: 0.9688 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.128e-05/0.6977, allocations: 32.2 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.6977, allocations: 4 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001449/0.6978, allocations: 57.27 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.6979, allocations: 78.23 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.698, allocations: 159.8 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.698, allocations: 25.7 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.698, allocations: 103.3 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-06/0.698, allocations: 10.05 kB / 1.09 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.6981, allocations: 19.23 kB / 1.09 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.789e-05/0.6981, allocations: 318.6 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.6981, allocations: 9.188 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.6982, allocations: 15.33 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.6982, allocations: 30.75 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6982, allocations: 0.875 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.071e-05/0.6983, allocations: 62.47 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.6983, allocations: 8.406 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.6983, allocations: 1.062 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.6983, allocations: 1.156 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.492e-05/0.6984, allocations: 5.891 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.6984, allocations: 1.656 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.6984, allocations: 6.094 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.6984, allocations: 5 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 4.503e-05/0.6985, allocations: 114.6 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.6985, allocations: 16.41 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.6986, allocations: 8.266 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.6986, allocations: 0.8125 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6986, allocations: 5.594 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6986, allocations: 0.7812 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.6989, allocations: 471.6 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.6989, allocations: 4.062 kB / 1.091 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/0.6989, allocations: 7.391 kB / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6989, allocations: 4.75 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.6989, allocations: 1.312 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6989, allocations: 0.7812 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6989, allocations: 1 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.876e-05/0.699, allocations: 85.52 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.699, allocations: 93.78 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.699, allocations: 5.828 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.6991, allocations: 1.312 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.6991, allocations: 1.953 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.6991, allocations: 0.7812 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.169e-05/0.6992, allocations: 121.9 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6992, allocations: 0 / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001916/0.6994, allocations: 6.875 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.0002751/0.6996, allocations: 0.6189 MB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.367e-05/0.6997, allocations: 16.38 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6997, allocations: 0 / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.6998, allocations: 16.66 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.6999, allocations: 8.141 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.0009983/0.7009, allocations: 1.325 MB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.7011, allocations: 0.698 MB / 1.094 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.7012, allocations: 6.094 kB / 1.094 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.7012, allocations: 25.34 kB / 1.094 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.7012, allocations: 0 / 1.094 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.717, allocations: 1.576 MB / 1.096 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.05/7.767, allocations: 1.938 kB / 1.096 GB, free: 14.51 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_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_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches