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.008004/0.008004, allocations: 100.2 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.002366/0.002367, 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 2.008/2.008, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.57/2.57, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.89 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6883/0.6902, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001977/0.6922, allocations: 0.8257 MB / 1.167 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001048/0.6923, allocations: 39.78 kB / 1.167 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.6924, allocations: 0 / 1.167 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.245e-05/0.6925, allocations: 15.86 kB / 1.167 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.6926, allocations: 7.875 kB / 1.167 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.789e-05/0.6926, allocations: 23.92 kB / 1.167 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.6927, allocations: 55.84 kB / 1.167 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.6929, allocations: 51.94 kB / 1.167 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.6929, allocations: 23.88 kB / 1.167 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.693, allocations: 35.78 kB / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.693, allocations: 4 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.693, allocations: 8 kB / 1.167 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.6931, allocations: 15.94 kB / 1.167 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.6932, allocations: 35.8 kB / 1.167 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.6933, allocations: 71.3 kB / 1.167 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6933, allocations: 0 / 1.167 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6934, allocations: 0 / 1.167 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.6934, allocations: 4 kB / 1.167 GB, free: 2.551 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.0005258/0.6939, allocations: 379.1 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6939, allocations: 12.92 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/0.694, allocations: 38.75 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.694, allocations: 24.78 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.6942, allocations: 192.2 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.6943, allocations: 4.375 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.6943, allocations: 12.31 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.6945, allocations: 94.39 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.6945, allocations: 3.938 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.6945, allocations: 0 / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6945, allocations: 0 / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.94e-05/0.6946, allocations: 39.92 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.6951, allocations: 440.7 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/0.6952, allocations: 45.19 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/0.6953, allocations: 21.84 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.6953, allocations: 0 / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.6953, allocations: 34.56 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.6953, allocations: 0 / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001774/0.6955, allocations: 61.52 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.6955, allocations: 77.11 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.6957, allocations: 161.1 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.6957, allocations: 29.7 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.6958, allocations: 100.1 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.153e-06/0.6958, allocations: 3.953 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.453e-05/0.6959, allocations: 17.72 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002171/0.6961, allocations: 322.8 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.6961, allocations: 7.938 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.408e-05/0.6962, allocations: 21.66 kB / 1.169 GB, free: 200 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.6962, allocations: 25.72 kB / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6962, allocations: 0 / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.184e-05/0.6963, allocations: 65.53 kB / 1.169 GB, free: 96 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.6963, allocations: 11.94 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.6963, allocations: 0 / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.6964, allocations: 0 / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.6964, allocations: 8 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.6964, allocations: 8 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.979e-05/0.6965, allocations: 7.922 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.6965, allocations: 4 kB / 1.17 GB, free: 56 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.652e-05/0.6966, allocations: 113.8 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.6966, allocations: 11.89 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.6967, allocations: 7.875 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6967, allocations: 4 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6967, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.6967, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.6972, allocations: 478.7 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6972, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.6972, allocations: 4 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6972, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.6973, allocations: 8 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.6973, allocations: 3.938 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6973, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.829e-05/0.6974, allocations: 85.94 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.6974, allocations: 81.06 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.6975, allocations: 4.094 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.6975, allocations: 4 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.6975, allocations: 3.984 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.6975, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001023/0.6976, allocations: 125.9 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6976, allocations: 0 / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001917/0.6978, allocations: 8 kB / 1.17 GB, free: 15.01 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.0004231/0.6982, allocations: 0.6171 MB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.068e-05/0.6983, allocations: 27.95 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6984, allocations: 0 / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.6984, allocations: 4 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.6985, allocations: 8 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.6999, allocations: 1.343 MB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.7003, allocations: 0.6924 MB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.7003, 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 4.676e-05/0.7004, allocations: 27.42 kB / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of SimCode: time 5.169e-06/0.7004, allocations: 0 / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.7218, allocations: 1.585 MB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/9.002, allocations: 9.453 kB / 1.175 GB, free: 10.65 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