Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.To_inH2O,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_10_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.007641/0.007641, allocations: 101 kB / 15.73 MB, free: 6.059 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.00126/0.00126, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.413/1.413, 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 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.88 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6707/0.6727, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.00191/0.6746, allocations: 0.835 MB / 1.167 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001033/0.6747, allocations: 39.8 kB / 1.167 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.6748, allocations: 0 / 1.167 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.6748, allocations: 7.875 kB / 1.167 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.86e-05/0.6749, allocations: 19.91 kB / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.883e-05/0.675, allocations: 15.98 kB / 1.167 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.6751, allocations: 63.78 kB / 1.167 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.6752, allocations: 35.98 kB / 1.167 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.126e-05/0.6753, allocations: 35.8 kB / 1.167 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.6754, allocations: 23.86 kB / 1.167 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.6754, allocations: 8 kB / 1.167 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.6754, allocations: 8 kB / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.6754, allocations: 15.92 kB / 1.167 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.6755, allocations: 39.73 kB / 1.167 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.6756, allocations: 67.36 kB / 1.167 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6756, allocations: 3.938 kB / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6756, allocations: 0 / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.6756, 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.0004449/0.6761, allocations: 383.1 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6761, allocations: 16.91 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.6762, allocations: 38.75 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.6762, allocations: 12.84 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.6764, allocations: 200.1 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.6764, allocations: 4.375 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.6765, allocations: 8.375 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.6766, allocations: 94.39 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6767, allocations: 7.938 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.6767, allocations: 3.938 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.6767, allocations: 0 / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.606e-05/0.6768, allocations: 35.98 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.6773, allocations: 432.6 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.836e-05/0.6774, allocations: 53.27 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.6774, allocations: 17.84 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.6774, allocations: 0 / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.6775, allocations: 38.5 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6775, allocations: 0 / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.6776, allocations: 57.59 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.6777, allocations: 85.03 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.6779, allocations: 156.7 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.6779, allocations: 29.69 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.678, allocations: 96.09 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.217e-06/0.678, allocations: 7.938 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.678, allocations: 17.97 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6782, allocations: 322.8 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.6782, allocations: 7.984 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.6782, allocations: 17.72 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.391e-05/0.6783, allocations: 21.72 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6783, allocations: 3.938 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.615e-05/0.6784, allocations: 73.47 kB / 1.169 GB, free: 104 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.6784, allocations: 11.94 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.6784, allocations: 0 / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.6784, allocations: 0 / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.488e-05/0.6785, allocations: 4.094 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.6785, allocations: 4 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.6785, allocations: 3.938 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.6785, allocations: 7.984 kB / 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.173e-05/0.6786, allocations: 113.8 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.6787, allocations: 23.94 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.6787, allocations: 7.875 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.6787, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.6787, allocations: 4 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.6787, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.6792, allocations: 470.7 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6792, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.6792, allocations: 4.062 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.6792, allocations: 8 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.6792, allocations: 3.984 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6792, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6792, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.332e-05/0.6793, allocations: 85.83 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.6794, allocations: 85.05 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.6794, allocations: 8.031 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.6795, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.6795, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.6795, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001028/0.6796, allocations: 125.7 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6796, allocations: 0 / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000194/0.6798, allocations: 8 kB / 1.17 GB, free: 15.02 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.0004191/0.6802, allocations: 0.6171 MB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.081e-05/0.6803, allocations: 19.94 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6803, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.46e-05/0.6804, allocations: 7.984 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.0001462/0.6805, allocations: 6.781 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.001299/0.6818, 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.0003149/0.6821, allocations: 0.6924 MB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.6822, allocations: 12.36 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.6822, allocations: 23.44 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.6822, allocations: 0 / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.7036, allocations: 1.576 MB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.702, allocations: 7.938 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches