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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009288/0.0009288, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007419/0.007419, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.205/1.205, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.285/2.285, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002768, allocations: 12 kB / 0.8729 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4708, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.0008147/0.4716, allocations: 0.5432 MB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.917e-05/0.4718, allocations: 35.84 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.4718, allocations: 4 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.4718, allocations: 7.922 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.4719, allocations: 7.938 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-05/0.472, allocations: 11.98 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.834e-05/0.472, allocations: 59.84 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4722, allocations: 47.89 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.4722, allocations: 11.88 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.4723, allocations: 19.86 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.4723, allocations: 4 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.831e-06/0.4723, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.4723, allocations: 11.94 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.4723, allocations: 53.44 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.687e-05/0.4724, allocations: 66 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4724, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4724, allocations: 4 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.4725, allocations: 4 kB / 1.024 GB, free: 14.95 MB / 0.7794 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.0003168/0.4728, allocations: 365.1 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.4728, allocations: 11.97 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.4729, allocations: 42.73 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.4729, allocations: 12.84 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.4731, allocations: 188.2 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4731, allocations: 8.359 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.4731, allocations: 8.375 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.4732, allocations: 93.77 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4732, allocations: 3.938 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.4733, allocations: 11.94 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4733, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.4733, allocations: 35.98 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.4738, allocations: 440.5 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.795e-05/0.4738, allocations: 41.14 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.4739, allocations: 21.88 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.4739, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.4739, allocations: 38.56 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.4739, allocations: 3.938 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001449/0.4741, allocations: 57.48 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.4741, allocations: 81.09 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.4742, allocations: 156.7 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.4743, allocations: 29.7 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.4743, allocations: 108.2 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.493e-06/0.4743, allocations: 3.906 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.4743, allocations: 17.7 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.4744, allocations: 314.8 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.4745, allocations: 8 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.954e-05/0.4745, allocations: 17.7 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/0.4745, allocations: 33.66 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4745, allocations: 4 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.227e-05/0.4746, allocations: 53.59 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4746, allocations: 7.938 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.4746, allocations: 3.938 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.4746, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.094e-05/0.4747, allocations: 4.094 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.4747, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.4747, allocations: 11.91 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.4748, allocations: 4.047 kB / 1.026 GB, free: 12.48 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.049e-05/0.4748, allocations: 115.7 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.4749, allocations: 15.84 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.4749, allocations: 11.86 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4749, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.4749, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4749, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.4752, allocations: 478.7 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4753, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.4753, allocations: 4 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4753, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.4753, allocations: 4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4753, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4753, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.125e-05/0.4754, allocations: 85.83 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.4754, allocations: 100.9 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.4754, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.243e-05/0.4755, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.4755, allocations: 4 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.4755, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.463e-05/0.4756, allocations: 120.5 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4756, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001799/0.4758, allocations: 11.94 kB / 1.027 GB, free: 11.44 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.00028/0.476, allocations: 0.6209 MB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.188e-05/0.4761, allocations: 16 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4761, allocations: 4.156 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.079e-05/0.4761, allocations: 7.938 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.4763, allocations: 8 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009792/0.4773, allocations: 1.333 MB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.4775, allocations: 0.6965 MB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.4775, allocations: 12.36 kB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.4775, allocations: 23.44 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.4776, allocations: 0 / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.918/2.395, allocations: 1.358 MB / 1.031 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/2.395, allocations: 211.8 kB / 1.031 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/3.992, allocations: 0 / 1.031 GB, free: 7.066 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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