Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.From_inH2O,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001087/0.001087, allocations: 108 kB / 15.6 MB, free: 132 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.001058/0.001058, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437.1 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.4906, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001912/0.4926, allocations: 0.8269 MB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001044/0.4927, allocations: 39.84 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.684e-05/0.4928, allocations: 7.938 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.4928, allocations: 3.938 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.871e-05/0.4929, allocations: 7.875 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.459e-05/0.4929, allocations: 23.97 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.555e-05/0.493, allocations: 63.8 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.4932, allocations: 39.95 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.54e-05/0.4932, allocations: 27.86 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.4933, allocations: 31.83 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.4933, allocations: 12 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.4933, allocations: 4 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.4933, allocations: 15.94 kB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.4934, allocations: 31.8 kB / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.878e-05/0.4935, allocations: 73.95 kB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4935, allocations: 0 / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4935, allocations: 0 / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.4935, allocations: 0 / 1.019 GB, free: 1.27 MB / 0.7637 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.0003545/0.4939, allocations: 383.1 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.4939, allocations: 8.031 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.4939, allocations: 50.69 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.494, allocations: 8.844 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.4941, allocations: 188.2 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.4942, allocations: 4.375 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.4942, allocations: 12.38 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.4943, allocations: 95.8 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4943, allocations: 3.938 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.4943, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4944, allocations: 8 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.4944, allocations: 43.86 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.4949, allocations: 432.6 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.616e-05/0.495, allocations: 41.22 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.495, allocations: 13.78 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.495, allocations: 4.031 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.495, allocations: 38.56 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.495, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001494/0.4952, allocations: 57.72 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.4952, allocations: 81.11 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.4954, allocations: 167.6 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.4954, allocations: 25.7 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.4954, allocations: 99.98 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.548e-06/0.4955, allocations: 11.89 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.4955, allocations: 17.72 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.506e-05/0.4956, allocations: 322.8 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.4956, allocations: 8 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/0.4956, allocations: 17.72 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/0.4957, allocations: 25.66 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4957, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.895e-05/0.4958, allocations: 57.59 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4958, allocations: 7.938 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.4958, allocations: 4.062 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4958, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.4959, allocations: 7.938 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.4959, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.4959, allocations: 7.906 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.4959, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 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 6.267e-05/0.496, allocations: 117.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.496, allocations: 11.84 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.4961, allocations: 11.88 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4961, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4961, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.4961, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.4964, allocations: 470.8 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.4964, allocations: 4.094 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.4965, allocations: 11.92 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4965, allocations: 3.984 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.4965, allocations: 12.06 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4965, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4965, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.913e-05/0.4966, allocations: 77.78 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.4966, allocations: 92.94 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.4966, allocations: 3.938 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.139e-05/0.4967, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.4967, allocations: 8.031 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.4967, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.483e-05/0.4968, allocations: 121.1 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4968, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001901/0.497, allocations: 8 kB / 1.022 GB, free: 13.72 MB / 0.7794 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.0002984/0.4973, allocations: 0.617 MB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.543e-05/0.4974, allocations: 19.98 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4974, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.4974, allocations: 7.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.4975, allocations: 9.25 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.4985, allocations: 1.318 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.4987, allocations: 0.6963 MB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.4988, allocations: 12.36 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.4988, allocations: 27.42 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.4988, allocations: 0 / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.5149, allocations: 1.536 MB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.629/7.143, allocations: 17.78 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches