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.006114/0.006114, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001268/0.001268, allocations: 189.1 kB / 16.67 MB, free: 5.93 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.382/2.382, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 59.91 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8622/0.8637, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002392/0.8661, allocations: 0.8253 MB / 1.167 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001373/0.8663, allocations: 43.78 kB / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.8664, allocations: 4 kB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.28e-05/0.8664, allocations: 11.86 kB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.631e-05/0.8665, allocations: 7.938 kB / 1.167 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.162e-05/0.8666, allocations: 15.98 kB / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.8667, allocations: 67.78 kB / 1.167 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.8669, allocations: 51.94 kB / 1.167 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.8669, allocations: 23.88 kB / 1.167 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.867, allocations: 27.84 kB / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.867, allocations: 4 kB / 1.167 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.8671, allocations: 8 kB / 1.167 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.8671, allocations: 11.94 kB / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.8671, allocations: 35.73 kB / 1.167 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.8673, allocations: 77.95 kB / 1.167 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8673, allocations: 4 kB / 1.167 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8673, allocations: 0 / 1.167 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.8673, allocations: 0 / 1.167 GB, free: 2.57 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.0004455/0.8677, allocations: 387.1 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.8678, allocations: 8.922 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.8678, allocations: 38.75 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.8679, allocations: 8.844 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.8681, allocations: 196.1 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.8681, allocations: 8.375 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.8681, allocations: 8.375 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.8683, allocations: 90.39 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.8683, allocations: 3.938 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.8683, allocations: 4 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.8683, allocations: 4 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.379e-05/0.8684, allocations: 39.92 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.869, allocations: 444.5 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.447e-05/0.8691, allocations: 41.34 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.8692, allocations: 21.72 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.8692, allocations: 0 / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.8692, allocations: 38.56 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 2.465e-06/0.8692, allocations: 0 / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001797/0.8694, allocations: 61.47 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.8695, allocations: 81.05 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.8696, allocations: 156.7 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.8696, allocations: 25.7 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.8699, allocations: 112.2 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.147e-06/0.8699, allocations: 7.906 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.8699, allocations: 13.72 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.87, allocations: 322.8 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.8701, allocations: 4 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/0.8701, allocations: 17.72 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.352e-05/0.8701, allocations: 29.7 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8701, allocations: 0 / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001675/0.8703, allocations: 61.55 kB / 1.169 GB, free: 116 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.8703, allocations: 7.938 kB / 1.169 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8704, allocations: 3.938 kB / 1.169 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.8704, allocations: 0 / 1.169 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.8704, allocations: 11.98 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.8705, allocations: 0 / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.8705, allocations: 7.906 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.8705, allocations: 64 / 1.17 GB, free: 84 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.088e-05/0.8706, allocations: 121.8 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.8706, allocations: 11.84 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.8707, allocations: 11.88 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.8707, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8707, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.8707, allocations: 3.984 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.8711, allocations: 470.8 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.8711, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.8711, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.8711, allocations: 96 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.8712, allocations: 3.984 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8712, allocations: 4 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8712, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.387e-05/0.8713, allocations: 85.89 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.8713, allocations: 88.95 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.8713, allocations: 3.938 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.8714, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.8714, allocations: 3.984 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.8714, allocations: 7.938 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.779e-05/0.8715, allocations: 121.7 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8715, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001908/0.8717, allocations: 15.89 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.0003925/0.8721, allocations: 0.6093 MB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.907e-05/0.8722, allocations: 23.92 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8722, allocations: 4.156 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.078e-05/0.8722, allocations: 4 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.0001633/0.8724, allocations: 10.5 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.001417/0.8738, allocations: 1.332 MB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.8742, allocations: 0.6963 MB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.8743, allocations: 12.36 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.8743, allocations: 23.42 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.8743, allocations: 0 / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.892, allocations: 1.573 MB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/8.576, allocations: 13.23 kB / 1.175 GB, free: 10.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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