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.007082/0.007082, allocations: 104.4 kB / 15.73 MB, free: 6.027 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.001832/0.001832, allocations: 188.7 kB / 16.67 MB, free: 5.957 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.385/2.385, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.84 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6534/0.6546, 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.001834/0.6565, allocations: 0.8388 MB / 1.167 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001018/0.6566, allocations: 39.8 kB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.6567, allocations: 0 / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.6567, allocations: 7.875 kB / 1.167 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.925e-05/0.6568, allocations: 15.86 kB / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.812e-05/0.6569, allocations: 15.98 kB / 1.167 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.54e-05/0.657, allocations: 67.83 kB / 1.167 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.6571, allocations: 39.98 kB / 1.167 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.254e-05/0.6572, allocations: 31.8 kB / 1.167 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.268e-05/0.6572, allocations: 27.84 kB / 1.167 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.6572, allocations: 12 kB / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.6573, allocations: 4 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.6573, allocations: 15.94 kB / 1.167 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.6573, allocations: 31.8 kB / 1.167 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.6574, allocations: 75.3 kB / 1.167 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6574, allocations: 0 / 1.167 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6575, allocations: 0 / 1.167 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.6575, allocations: 0 / 1.167 GB, free: 2.562 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.0003741/0.6578, allocations: 389.1 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.6579, allocations: 12.62 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.6579, allocations: 38.75 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.658, allocations: 12.84 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.6581, allocations: 200.2 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.6582, allocations: 4.375 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.6582, allocations: 8.375 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.6583, allocations: 90.33 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.6583, allocations: 3.938 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.6584, allocations: 8 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.6584, allocations: 4 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.6585, allocations: 39.92 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.6589, allocations: 440.7 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.845e-05/0.659, allocations: 37.16 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.659, allocations: 29.88 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.659, allocations: 0 / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.6591, allocations: 30.56 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.6591, allocations: 0 / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001583/0.6592, allocations: 61.52 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.6593, allocations: 89.3 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.6594, allocations: 154.2 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.6594, allocations: 25.7 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.6595, allocations: 100.1 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.464e-06/0.6595, allocations: 7.938 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.6595, allocations: 17.72 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.6596, allocations: 322.8 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.6597, allocations: 0 / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.6597, allocations: 25.72 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.6597, allocations: 29.59 kB / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6597, allocations: 0 / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.306e-05/0.6598, allocations: 65.53 kB / 1.169 GB, free: 96 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.6599, allocations: 11.94 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.6599, allocations: 0 / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.6599, allocations: 64 / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.638e-05/0.6599, allocations: 8 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.6599, allocations: 4 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.66, allocations: 3.938 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.66, allocations: 4 kB / 1.17 GB, free: 64 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 7.782e-05/0.6601, allocations: 116 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.6601, allocations: 11.89 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.6602, allocations: 11.88 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.6602, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6602, allocations: 4 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.6602, allocations: 4 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.6605, allocations: 474.7 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6606, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.6606, allocations: 7.984 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.6606, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.6606, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6606, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6606, allocations: 4.062 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.824e-05/0.6607, allocations: 81.83 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.6607, allocations: 89.05 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.6608, allocations: 4 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.6608, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-06/0.6608, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.6608, allocations: 4.031 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.222e-05/0.6609, allocations: 125.7 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6609, allocations: 0 / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001937/0.6611, 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.0003037/0.6614, allocations: 0.621 MB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.377e-05/0.6615, allocations: 15.98 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.6615, allocations: 8 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/0.6615, allocations: 7.938 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.6617, allocations: 7.938 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.6629, allocations: 1.339 MB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.6631, allocations: 0.6924 MB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.6631, allocations: 8.422 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.6632, allocations: 23.44 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/0.6632, allocations: 0 / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.6792, allocations: 1.585 MB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/8.069, allocations: 5.453 kB / 1.175 GB, free: 10.65 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