Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_11_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.00529/0.00529, allocations: 99.17 kB / 15.73 MB, free: 6.5 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.001562/0.001562, allocations: 191.9 kB / 16.67 MB, free: 6.391 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.884/2.884, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 67.84 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2937, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002/0.2958, allocations: 0.8371 MB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001061/0.2959, allocations: 35.8 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.2959, allocations: 0 / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.296, allocations: 7.875 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.845e-05/0.2961, allocations: 23.84 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.246e-05/0.2961, allocations: 11.98 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.2962, allocations: 59.84 kB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.2964, allocations: 51.86 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.2964, allocations: 27.86 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.2965, allocations: 31.78 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.2965, allocations: 8 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.2965, allocations: 12 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.2966, allocations: 7.938 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.2966, allocations: 39.73 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.2967, allocations: 71.64 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2968, allocations: 0 / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2968, allocations: 3.938 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2968, allocations: 0 / 1.221 GB, free: 13.03 MB / 0.9825 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.0004383/0.2972, allocations: 379.1 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2973, allocations: 12.03 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.2973, allocations: 42.69 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.2974, allocations: 12.84 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.2976, allocations: 192.2 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2976, allocations: 8.375 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2976, allocations: 4.375 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.2978, allocations: 97.67 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2978, allocations: 7.938 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2978, allocations: 4 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2978, allocations: 4 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.022e-05/0.2979, allocations: 31.98 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.2985, allocations: 444.7 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/0.2985, allocations: 33.16 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.2986, allocations: 25.94 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.2986, allocations: 3.938 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.2986, allocations: 30.56 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2986, allocations: 0 / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001668/0.2988, allocations: 61.52 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.2989, allocations: 81.36 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.299, allocations: 164.6 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.2991, allocations: 25.7 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.696e-05/0.2991, allocations: 96.09 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.2992, allocations: 11.94 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.2992, allocations: 21.61 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2993, allocations: 322.8 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.2994, allocations: 8 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.52e-05/0.2994, allocations: 21.7 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.2994, allocations: 29.66 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2994, allocations: 0 / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.42e-05/0.2995, allocations: 53.64 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2996, allocations: 11.94 kB / 1.223 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2996, allocations: 0 / 1.223 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2996, allocations: 64 / 1.223 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.2996, allocations: 11.94 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2997, allocations: 4 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.2997, allocations: 7.938 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.2997, allocations: 4 kB / 1.224 GB, free: 10.54 MB / 0.9825 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 8.691e-05/0.2998, allocations: 117.8 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.2998, allocations: 15.89 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.2999, allocations: 3.875 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2999, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2999, allocations: 8 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2999, allocations: 4 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.3003, allocations: 474.7 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3004, allocations: 0 / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.3004, allocations: 7.984 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3004, allocations: 0 / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.3004, allocations: 0 / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3004, allocations: 0 / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3004, allocations: 4.062 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.585e-05/0.3005, allocations: 81.83 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.3006, allocations: 89.05 kB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3006, allocations: 4 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.3006, allocations: 0 / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-06/0.3006, allocations: 0 / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.3006, allocations: 4.031 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.843e-05/0.3007, allocations: 121.3 kB / 1.224 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3007, allocations: 0 / 1.224 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001935/0.3009, allocations: 8 kB / 1.224 GB, free: 9.5 MB / 0.9825 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.0004066/0.3014, allocations: 0.6254 MB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.703e-05/0.3014, allocations: 15.98 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3015, allocations: 4 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.721e-05/0.3015, allocations: 11.94 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.3016, allocations: 1.719 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.3028, allocations: 1.331 MB / 1.226 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.3032, allocations: 0.6929 MB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.845e-05/0.3032, allocations: 8.422 kB / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.3033, allocations: 27.38 kB / 1.227 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.3033, allocations: 0 / 1.227 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.3243, allocations: 1.581 MB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/7.927, allocations: 4.688 kB / 1.229 GB, free: 5.141 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches