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.007466/0.007466, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.00191/0.00191, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.448/2.448, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6782/0.6795, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002022/0.6816, allocations: 0.8194 MB / 1.167 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001184/0.6817, allocations: 47.78 kB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.6818, allocations: 0 / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.6819, allocations: 11.86 kB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.344e-05/0.6819, allocations: 11.88 kB / 1.167 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.397e-05/0.682, allocations: 19.92 kB / 1.167 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.6821, allocations: 67.81 kB / 1.167 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.6823, allocations: 43.98 kB / 1.167 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.6823, allocations: 27.81 kB / 1.167 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.6824, allocations: 27.84 kB / 1.167 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.6824, allocations: 8 kB / 1.167 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.6825, allocations: 4 kB / 1.167 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.6825, allocations: 11.94 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.6825, allocations: 31.8 kB / 1.167 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.6827, allocations: 79.3 kB / 1.167 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.6827, allocations: 0 / 1.167 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.185e-06/0.6827, allocations: 7.938 kB / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.6827, allocations: 0 / 1.167 GB, free: 2.566 MB / 0.8887 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.0004906/0.6832, allocations: 383.1 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.6833, allocations: 8.922 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.6833, allocations: 38.75 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.6834, allocations: 16.83 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.6836, allocations: 192.2 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.6836, allocations: 8.375 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.6836, allocations: 8.375 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.6838, allocations: 94.33 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.6838, allocations: 7.922 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.6838, allocations: 4 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.6838, allocations: 4 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.684e-05/0.6839, allocations: 39.91 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.6844, allocations: 440.7 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.983e-05/0.6845, allocations: 41.25 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.6845, allocations: 17.78 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.6846, allocations: 4 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.6846, allocations: 38.56 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.6846, allocations: 0 / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001623/0.6848, allocations: 57.52 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.6848, allocations: 77.11 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.685, allocations: 160.9 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.685, allocations: 25.7 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.6851, allocations: 108.1 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.6851, allocations: 4.203 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.6851, allocations: 21.72 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6852, allocations: 314.8 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.6853, allocations: 11.94 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.242e-05/0.6853, allocations: 17.72 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.6853, allocations: 33.64 kB / 1.169 GB, free: 176 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6854, allocations: 0 / 1.169 GB, free: 176 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.121e-05/0.6854, allocations: 69.48 kB / 1.169 GB, free: 100 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.6855, allocations: 10.28 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.6855, allocations: 4 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.6855, allocations: 0 / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/0.6856, allocations: 7.984 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.6856, allocations: 0 / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.6856, allocations: 7.938 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.6856, allocations: 0 / 1.17 GB, free: 72 kB / 0.8887 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 9.079e-05/0.6857, allocations: 117.9 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.6858, allocations: 11.89 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.6858, allocations: 7.875 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6858, allocations: 3.984 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.6858, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.6858, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.6862, allocations: 474.7 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6862, allocations: 8.062 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.6862, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6862, allocations: 4 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.6862, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6863, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6863, allocations: 3.938 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/0.6863, allocations: 81.88 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.6864, allocations: 89.09 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.6864, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.6865, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.6865, allocations: 7.984 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.6865, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.054e-05/0.6866, allocations: 121.5 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6866, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002012/0.6868, allocations: 12 kB / 1.17 GB, free: 15.03 MB / 0.9044 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.0003283/0.6871, allocations: 0.6171 MB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.305e-05/0.6872, allocations: 15.94 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6872, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.33e-05/0.6872, allocations: 12.22 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.6874, allocations: 10.23 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.6885, allocations: 1.347 MB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.6887, allocations: 0.6963 MB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.6888, allocations: 8.438 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.6888, allocations: 27.42 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.6888, allocations: 0 / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.7046, allocations: 1.567 MB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.069/7.773, allocations: 15.77 kB / 1.175 GB, free: 10.66 MB / 0.9044 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