Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_latest_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.001102/0.001102, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 194.1 kB / 16.53 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 64.3 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2875, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.00203/0.2896, allocations: 0.8351 MB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001168/0.2897, allocations: 43.78 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.2898, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/0.2898, allocations: 7.875 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.303e-05/0.2899, allocations: 7.875 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.891e-05/0.2899, allocations: 23.97 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.053e-05/0.29, allocations: 55.86 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.2902, allocations: 51.95 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.2902, allocations: 19.88 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.2903, allocations: 35.77 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2903, allocations: 8 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.2903, allocations: 8 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.2904, allocations: 15.94 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.2904, allocations: 39.73 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.2905, allocations: 71.98 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2905, allocations: 0 / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2905, allocations: 0 / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2906, allocations: 0 / 1.065 GB, free: 13.29 MB / 0.8262 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.0003843/0.2909, allocations: 371.3 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.291, allocations: 8.031 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.291, allocations: 38.75 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.2911, allocations: 16.75 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.2913, allocations: 196.1 kB / 1.065 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2913, allocations: 8.375 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.2913, allocations: 4.375 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.2914, allocations: 87.95 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2915, allocations: 3.938 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2915, allocations: 7.938 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2915, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.2916, allocations: 43.92 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.2921, allocations: 432.5 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.323e-05/0.2921, allocations: 41.28 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.2922, allocations: 25.84 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.2922, allocations: 0 / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.2922, allocations: 30.56 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 3.376e-06/0.2922, allocations: 3.984 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001663/0.2924, allocations: 57.47 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2924, allocations: 85.36 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.2926, allocations: 164.6 kB / 1.066 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2926, allocations: 29.64 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.2927, allocations: 104 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.2927, allocations: 7.906 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.2927, allocations: 13.72 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2928, allocations: 322.8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.2928, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-05/0.2929, allocations: 21.72 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.2929, allocations: 25.72 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2929, allocations: 0 / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.599e-05/0.293, allocations: 57.53 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.293, allocations: 11.94 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2931, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2931, allocations: 4.062 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.2931, allocations: 4 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2931, allocations: 4 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.2932, allocations: 19.83 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.2932, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 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.033e-05/0.2933, allocations: 109.8 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.2933, allocations: 19.78 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.2933, allocations: 7.875 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2934, allocations: 0 / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2934, allocations: 4 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2934, allocations: 4 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.2937, allocations: 482.7 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2938, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.2938, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.2938, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.2938, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2938, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2938, allocations: 4.062 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.615e-05/0.2939, allocations: 77.83 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.294, allocations: 89.02 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.294, allocations: 0 / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.294, allocations: 4 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.294, allocations: 3.938 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.294, allocations: 4.031 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.773e-05/0.2941, allocations: 119.2 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2941, allocations: 0 / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001993/0.2943, allocations: 8 kB / 1.068 GB, free: 9.777 MB / 0.8262 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.0003449/0.2947, allocations: 0.6231 MB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.76e-05/0.2948, allocations: 23.86 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2948, allocations: 0 / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.2948, allocations: 8 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.295, allocations: 5.875 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2961, allocations: 1.319 MB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.2964, allocations: 0.7002 MB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.458e-05/0.2964, allocations: 4.438 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.2965, allocations: 27.42 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2965, allocations: 0 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.3147, allocations: 1.55 MB / 1.072 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.132/7.447, allocations: 16.36 kB / 1.072 GB, free: 5.453 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches